AWS SDK for C++  1.9.129
AWS SDK for C++
AddTagsToResourceResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace StorageGateway
24 {
25 namespace Model
26 {
33  {
34  public:
38 
39 
43  inline const Aws::String& GetResourceARN() const{ return m_resourceARN; }
44 
48  inline void SetResourceARN(const Aws::String& value) { m_resourceARN = value; }
49 
53  inline void SetResourceARN(Aws::String&& value) { m_resourceARN = std::move(value); }
54 
58  inline void SetResourceARN(const char* value) { m_resourceARN.assign(value); }
59 
63  inline AddTagsToResourceResult& WithResourceARN(const Aws::String& value) { SetResourceARN(value); return *this;}
64 
68  inline AddTagsToResourceResult& WithResourceARN(Aws::String&& value) { SetResourceARN(std::move(value)); return *this;}
69 
73  inline AddTagsToResourceResult& WithResourceARN(const char* value) { SetResourceARN(value); return *this;}
74 
75  private:
76 
77  Aws::String m_resourceARN;
78  };
79 
80 } // namespace Model
81 } // namespace StorageGateway
82 } // namespace Aws
Aws::StorageGateway::Model::AddTagsToResourceResult::WithResourceARN
AddTagsToResourceResult & WithResourceARN(const Aws::String &value)
Definition: AddTagsToResourceResult.h:63
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::StorageGateway::Model::AddTagsToResourceResult::operator=
AddTagsToResourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::StorageGateway::Model::AddTagsToResourceResult::SetResourceARN
void SetResourceARN(Aws::String &&value)
Definition: AddTagsToResourceResult.h:53
Aws::StorageGateway::Model::AddTagsToResourceResult::AddTagsToResourceResult
AddTagsToResourceResult()
Aws::StorageGateway::Model::AddTagsToResourceResult::WithResourceARN
AddTagsToResourceResult & WithResourceARN(const char *value)
Definition: AddTagsToResourceResult.h:73
Aws::StorageGateway::Model::AddTagsToResourceResult::SetResourceARN
void SetResourceARN(const Aws::String &value)
Definition: AddTagsToResourceResult.h:48
Aws::StorageGateway::Model::AddTagsToResourceResult
Definition: AddTagsToResourceResult.h:33
Aws::StorageGateway::Model::AddTagsToResourceResult::WithResourceARN
AddTagsToResourceResult & WithResourceARN(Aws::String &&value)
Definition: AddTagsToResourceResult.h:68
AWSString.h
AWS_STORAGEGATEWAY_API
#define AWS_STORAGEGATEWAY_API
Definition: StorageGateway_EXPORTS.h:28
Aws::StorageGateway::Model::AddTagsToResourceResult::AddTagsToResourceResult
AddTagsToResourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::StorageGateway::Model::AddTagsToResourceResult::SetResourceARN
void SetResourceARN(const char *value)
Definition: AddTagsToResourceResult.h:58
Aws::StorageGateway::Model::AddTagsToResourceResult::GetResourceARN
const Aws::String & GetResourceARN() const
Definition: AddTagsToResourceResult.h:43
Aws
Definition: AccessManagementClient.h:15
StorageGateway_EXPORTS.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97