AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SyncResourceResult.h
1
6#pragma once
7#include <aws/servicecatalog-appregistry/AppRegistry_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/servicecatalog-appregistry/model/SyncAction.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace AppRegistry
25{
26namespace Model
27{
29 {
30 public:
31 AWS_APPREGISTRY_API SyncResourceResult();
34
35
37
40 inline const Aws::String& GetApplicationArn() const{ return m_applicationArn; }
41 inline void SetApplicationArn(const Aws::String& value) { m_applicationArn = value; }
42 inline void SetApplicationArn(Aws::String&& value) { m_applicationArn = std::move(value); }
43 inline void SetApplicationArn(const char* value) { m_applicationArn.assign(value); }
44 inline SyncResourceResult& WithApplicationArn(const Aws::String& value) { SetApplicationArn(value); return *this;}
45 inline SyncResourceResult& WithApplicationArn(Aws::String&& value) { SetApplicationArn(std::move(value)); return *this;}
46 inline SyncResourceResult& WithApplicationArn(const char* value) { SetApplicationArn(value); return *this;}
48
50
53 inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
54 inline void SetResourceArn(const Aws::String& value) { m_resourceArn = value; }
55 inline void SetResourceArn(Aws::String&& value) { m_resourceArn = std::move(value); }
56 inline void SetResourceArn(const char* value) { m_resourceArn.assign(value); }
57 inline SyncResourceResult& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
58 inline SyncResourceResult& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
59 inline SyncResourceResult& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
61
63
67 inline const SyncAction& GetActionTaken() const{ return m_actionTaken; }
68 inline void SetActionTaken(const SyncAction& value) { m_actionTaken = value; }
69 inline void SetActionTaken(SyncAction&& value) { m_actionTaken = std::move(value); }
70 inline SyncResourceResult& WithActionTaken(const SyncAction& value) { SetActionTaken(value); return *this;}
71 inline SyncResourceResult& WithActionTaken(SyncAction&& value) { SetActionTaken(std::move(value)); return *this;}
73
75
76 inline const Aws::String& GetRequestId() const{ return m_requestId; }
77 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
78 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
79 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
80 inline SyncResourceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
81 inline SyncResourceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
82 inline SyncResourceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
84 private:
85
86 Aws::String m_applicationArn;
87
88 Aws::String m_resourceArn;
89
90 SyncAction m_actionTaken;
91
92 Aws::String m_requestId;
93 };
94
95} // namespace Model
96} // namespace AppRegistry
97} // namespace Aws
SyncResourceResult & WithApplicationArn(const Aws::String &value)
void SetResourceArn(const Aws::String &value)
void SetRequestId(const Aws::String &value)
void SetApplicationArn(const Aws::String &value)
SyncResourceResult & WithApplicationArn(Aws::String &&value)
SyncResourceResult & WithResourceArn(const Aws::String &value)
AWS_APPREGISTRY_API SyncResourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
SyncResourceResult & WithRequestId(const char *value)
SyncResourceResult & WithResourceArn(const char *value)
SyncResourceResult & WithApplicationArn(const char *value)
SyncResourceResult & WithActionTaken(SyncAction &&value)
SyncResourceResult & WithRequestId(const Aws::String &value)
SyncResourceResult & WithResourceArn(Aws::String &&value)
SyncResourceResult & WithRequestId(Aws::String &&value)
SyncResourceResult & WithActionTaken(const SyncAction &value)
AWS_APPREGISTRY_API SyncResourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetActionTaken(const SyncAction &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue