AWS SDK for C++  1.9.104
AWS SDK for C++
SyncResourceResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace AppRegistry
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
39  inline const Aws::String& GetApplicationArn() const{ return m_applicationArn; }
40 
44  inline void SetApplicationArn(const Aws::String& value) { m_applicationArn = value; }
45 
49  inline void SetApplicationArn(Aws::String&& value) { m_applicationArn = std::move(value); }
50 
54  inline void SetApplicationArn(const char* value) { m_applicationArn.assign(value); }
55 
59  inline SyncResourceResult& WithApplicationArn(const Aws::String& value) { SetApplicationArn(value); return *this;}
60 
64  inline SyncResourceResult& WithApplicationArn(Aws::String&& value) { SetApplicationArn(std::move(value)); return *this;}
65 
69  inline SyncResourceResult& WithApplicationArn(const char* value) { SetApplicationArn(value); return *this;}
70 
71 
75  inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
76 
80  inline void SetResourceArn(const Aws::String& value) { m_resourceArn = value; }
81 
85  inline void SetResourceArn(Aws::String&& value) { m_resourceArn = std::move(value); }
86 
90  inline void SetResourceArn(const char* value) { m_resourceArn.assign(value); }
91 
95  inline SyncResourceResult& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
96 
100  inline SyncResourceResult& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
101 
105  inline SyncResourceResult& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
106 
107 
112  inline const SyncAction& GetActionTaken() const{ return m_actionTaken; }
113 
118  inline void SetActionTaken(const SyncAction& value) { m_actionTaken = value; }
119 
124  inline void SetActionTaken(SyncAction&& value) { m_actionTaken = std::move(value); }
125 
130  inline SyncResourceResult& WithActionTaken(const SyncAction& value) { SetActionTaken(value); return *this;}
131 
136  inline SyncResourceResult& WithActionTaken(SyncAction&& value) { SetActionTaken(std::move(value)); return *this;}
137 
138  private:
139 
140  Aws::String m_applicationArn;
141 
142  Aws::String m_resourceArn;
143 
144  SyncAction m_actionTaken;
145  };
146 
147 } // namespace Model
148 } // namespace AppRegistry
149 } // namespace Aws
Aws::AppRegistry::Model::SyncResourceResult::GetActionTaken
const SyncAction & GetActionTaken() const
Definition: SyncResourceResult.h:112
Aws::AppRegistry::Model::SyncResourceResult::GetApplicationArn
const Aws::String & GetApplicationArn() const
Definition: SyncResourceResult.h:39
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::AppRegistry::Model::SyncResourceResult
Definition: SyncResourceResult.h:29
AWS_APPREGISTRY_API
#define AWS_APPREGISTRY_API
Definition: AppRegistry_EXPORTS.h:28
Aws::AppRegistry::Model::SyncResourceResult::SetResourceArn
void SetResourceArn(const char *value)
Definition: SyncResourceResult.h:90
Aws::AppRegistry::Model::SyncResourceResult::SetActionTaken
void SetActionTaken(SyncAction &&value)
Definition: SyncResourceResult.h:124
Aws::AppRegistry::Model::SyncResourceResult::WithActionTaken
SyncResourceResult & WithActionTaken(SyncAction &&value)
Definition: SyncResourceResult.h:136
SyncAction.h
Aws::AppRegistry::Model::SyncResourceResult::WithApplicationArn
SyncResourceResult & WithApplicationArn(const Aws::String &value)
Definition: SyncResourceResult.h:59
Aws::AppRegistry::Model::SyncResourceResult::WithResourceArn
SyncResourceResult & WithResourceArn(Aws::String &&value)
Definition: SyncResourceResult.h:100
Aws::AppRegistry::Model::SyncResourceResult::WithResourceArn
SyncResourceResult & WithResourceArn(const char *value)
Definition: SyncResourceResult.h:105
Aws::AppRegistry::Model::SyncResourceResult::WithApplicationArn
SyncResourceResult & WithApplicationArn(const char *value)
Definition: SyncResourceResult.h:69
AWSString.h
Aws::AppRegistry::Model::SyncResourceResult::SetResourceArn
void SetResourceArn(const Aws::String &value)
Definition: SyncResourceResult.h:80
Aws::AppRegistry::Model::SyncResourceResult::SetResourceArn
void SetResourceArn(Aws::String &&value)
Definition: SyncResourceResult.h:85
Aws::AppRegistry::Model::SyncResourceResult::SyncResourceResult
SyncResourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AppRegistry::Model::SyncResourceResult::SetActionTaken
void SetActionTaken(const SyncAction &value)
Definition: SyncResourceResult.h:118
Aws
Definition: AccessManagementClient.h:15
Aws::AppRegistry::Model::SyncResourceResult::SyncResourceResult
SyncResourceResult()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AppRegistry::Model::SyncResourceResult::SetApplicationArn
void SetApplicationArn(const char *value)
Definition: SyncResourceResult.h:54
Aws::AppRegistry::Model::SyncResourceResult::operator=
SyncResourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AppRegistry::Model::SyncResourceResult::GetResourceArn
const Aws::String & GetResourceArn() const
Definition: SyncResourceResult.h:75
Aws::AppRegistry::Model::SyncResourceResult::SetApplicationArn
void SetApplicationArn(Aws::String &&value)
Definition: SyncResourceResult.h:49
Aws::AppRegistry::Model::SyncResourceResult::SetApplicationArn
void SetApplicationArn(const Aws::String &value)
Definition: SyncResourceResult.h:44
Aws::AppRegistry::Model::SyncResourceResult::WithApplicationArn
SyncResourceResult & WithApplicationArn(Aws::String &&value)
Definition: SyncResourceResult.h:64
Aws::AppRegistry::Model::SyncResourceResult::WithResourceArn
SyncResourceResult & WithResourceArn(const Aws::String &value)
Definition: SyncResourceResult.h:95
Aws::AppRegistry::Model::SyncAction
SyncAction
Definition: SyncAction.h:17
Aws::AppRegistry::Model::SyncResourceResult::WithActionTaken
SyncResourceResult & WithActionTaken(const SyncAction &value)
Definition: SyncResourceResult.h:130
AppRegistry_EXPORTS.h