AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
34
35
37
40 inline const Aws::String& GetApplicationArn() const { return m_applicationArn; }
41 template<typename ApplicationArnT = Aws::String>
42 void SetApplicationArn(ApplicationArnT&& value) { m_applicationArnHasBeenSet = true; m_applicationArn = std::forward<ApplicationArnT>(value); }
43 template<typename ApplicationArnT = Aws::String>
44 SyncResourceResult& WithApplicationArn(ApplicationArnT&& value) { SetApplicationArn(std::forward<ApplicationArnT>(value)); return *this;}
46
48
51 inline const Aws::String& GetResourceArn() const { return m_resourceArn; }
52 template<typename ResourceArnT = Aws::String>
53 void SetResourceArn(ResourceArnT&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::forward<ResourceArnT>(value); }
54 template<typename ResourceArnT = Aws::String>
55 SyncResourceResult& WithResourceArn(ResourceArnT&& value) { SetResourceArn(std::forward<ResourceArnT>(value)); return *this;}
57
59
63 inline SyncAction GetActionTaken() const { return m_actionTaken; }
64 inline void SetActionTaken(SyncAction value) { m_actionTakenHasBeenSet = true; m_actionTaken = value; }
65 inline SyncResourceResult& WithActionTaken(SyncAction value) { SetActionTaken(value); return *this;}
67
69
70 inline const Aws::String& GetRequestId() const { return m_requestId; }
71 template<typename RequestIdT = Aws::String>
72 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
73 template<typename RequestIdT = Aws::String>
74 SyncResourceResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
76 private:
77
78 Aws::String m_applicationArn;
79 bool m_applicationArnHasBeenSet = false;
80
81 Aws::String m_resourceArn;
82 bool m_resourceArnHasBeenSet = false;
83
84 SyncAction m_actionTaken{SyncAction::NOT_SET};
85 bool m_actionTakenHasBeenSet = false;
86
87 Aws::String m_requestId;
88 bool m_requestIdHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace AppRegistry
93} // namespace Aws
AWS_APPREGISTRY_API SyncResourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
SyncResourceResult & WithRequestId(RequestIdT &&value)
void SetApplicationArn(ApplicationArnT &&value)
AWS_APPREGISTRY_API SyncResourceResult()=default
SyncResourceResult & WithResourceArn(ResourceArnT &&value)
SyncResourceResult & WithActionTaken(SyncAction value)
SyncResourceResult & WithApplicationArn(ApplicationArnT &&value)
AWS_APPREGISTRY_API SyncResourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue