AWS SDK for C++  1.9.104
AWS SDK for C++
AssociateResourceResult.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 AppRegistry
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
39  inline const Aws::String& GetApplicationArn() const{ return m_applicationArn; }
40 
45  inline void SetApplicationArn(const Aws::String& value) { m_applicationArn = value; }
46 
51  inline void SetApplicationArn(Aws::String&& value) { m_applicationArn = std::move(value); }
52 
57  inline void SetApplicationArn(const char* value) { m_applicationArn.assign(value); }
58 
63  inline AssociateResourceResult& WithApplicationArn(const Aws::String& value) { SetApplicationArn(value); return *this;}
64 
69  inline AssociateResourceResult& WithApplicationArn(Aws::String&& value) { SetApplicationArn(std::move(value)); return *this;}
70 
75  inline AssociateResourceResult& WithApplicationArn(const char* value) { SetApplicationArn(value); return *this;}
76 
77 
81  inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
82 
86  inline void SetResourceArn(const Aws::String& value) { m_resourceArn = value; }
87 
91  inline void SetResourceArn(Aws::String&& value) { m_resourceArn = std::move(value); }
92 
96  inline void SetResourceArn(const char* value) { m_resourceArn.assign(value); }
97 
101  inline AssociateResourceResult& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
102 
106  inline AssociateResourceResult& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
107 
111  inline AssociateResourceResult& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
112 
113  private:
114 
115  Aws::String m_applicationArn;
116 
117  Aws::String m_resourceArn;
118  };
119 
120 } // namespace Model
121 } // namespace AppRegistry
122 } // namespace Aws
Aws::AppRegistry::Model::AssociateResourceResult
Definition: AssociateResourceResult.h:28
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::AppRegistry::Model::AssociateResourceResult::SetApplicationArn
void SetApplicationArn(const Aws::String &value)
Definition: AssociateResourceResult.h:45
Aws::AppRegistry::Model::AssociateResourceResult::WithApplicationArn
AssociateResourceResult & WithApplicationArn(const Aws::String &value)
Definition: AssociateResourceResult.h:63
AWS_APPREGISTRY_API
#define AWS_APPREGISTRY_API
Definition: AppRegistry_EXPORTS.h:28
Aws::AppRegistry::Model::AssociateResourceResult::WithApplicationArn
AssociateResourceResult & WithApplicationArn(Aws::String &&value)
Definition: AssociateResourceResult.h:69
Aws::AppRegistry::Model::AssociateResourceResult::SetResourceArn
void SetResourceArn(const Aws::String &value)
Definition: AssociateResourceResult.h:86
Aws::AppRegistry::Model::AssociateResourceResult::SetResourceArn
void SetResourceArn(const char *value)
Definition: AssociateResourceResult.h:96
Aws::AppRegistry::Model::AssociateResourceResult::operator=
AssociateResourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AppRegistry::Model::AssociateResourceResult::GetResourceArn
const Aws::String & GetResourceArn() const
Definition: AssociateResourceResult.h:81
Aws::AppRegistry::Model::AssociateResourceResult::GetApplicationArn
const Aws::String & GetApplicationArn() const
Definition: AssociateResourceResult.h:39
Aws::AppRegistry::Model::AssociateResourceResult::SetApplicationArn
void SetApplicationArn(Aws::String &&value)
Definition: AssociateResourceResult.h:51
AWSString.h
Aws::AppRegistry::Model::AssociateResourceResult::WithResourceArn
AssociateResourceResult & WithResourceArn(Aws::String &&value)
Definition: AssociateResourceResult.h:106
Aws::AppRegistry::Model::AssociateResourceResult::WithResourceArn
AssociateResourceResult & WithResourceArn(const char *value)
Definition: AssociateResourceResult.h:111
Aws::AppRegistry::Model::AssociateResourceResult::AssociateResourceResult
AssociateResourceResult()
Aws::AppRegistry::Model::AssociateResourceResult::SetApplicationArn
void SetApplicationArn(const char *value)
Definition: AssociateResourceResult.h:57
Aws::AppRegistry::Model::AssociateResourceResult::SetResourceArn
void SetResourceArn(Aws::String &&value)
Definition: AssociateResourceResult.h:91
Aws
Definition: AccessManagementClient.h:15
Aws::AppRegistry::Model::AssociateResourceResult::WithApplicationArn
AssociateResourceResult & WithApplicationArn(const char *value)
Definition: AssociateResourceResult.h:75
Aws::AppRegistry::Model::AssociateResourceResult::AssociateResourceResult
AssociateResourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AppRegistry::Model::AssociateResourceResult::WithResourceArn
AssociateResourceResult & WithResourceArn(const Aws::String &value)
Definition: AssociateResourceResult.h:101
AppRegistry_EXPORTS.h