AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetConnectorDefinitionVersionResult.h
1
6#pragma once
7#include <aws/greengrass/Greengrass_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/greengrass/model/ConnectorDefinitionVersion.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 Greengrass
25{
26namespace Model
27{
29 {
30 public:
31 AWS_GREENGRASS_API GetConnectorDefinitionVersionResult() = default;
34
35
37
40 inline const Aws::String& GetArn() const { return m_arn; }
41 template<typename ArnT = Aws::String>
42 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
43 template<typename ArnT = Aws::String>
44 GetConnectorDefinitionVersionResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
46
48
52 inline const Aws::String& GetCreationTimestamp() const { return m_creationTimestamp; }
53 template<typename CreationTimestampT = Aws::String>
54 void SetCreationTimestamp(CreationTimestampT&& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = std::forward<CreationTimestampT>(value); }
55 template<typename CreationTimestampT = Aws::String>
56 GetConnectorDefinitionVersionResult& WithCreationTimestamp(CreationTimestampT&& value) { SetCreationTimestamp(std::forward<CreationTimestampT>(value)); return *this;}
58
60
63 inline const ConnectorDefinitionVersion& GetDefinition() const { return m_definition; }
64 template<typename DefinitionT = ConnectorDefinitionVersion>
65 void SetDefinition(DefinitionT&& value) { m_definitionHasBeenSet = true; m_definition = std::forward<DefinitionT>(value); }
66 template<typename DefinitionT = ConnectorDefinitionVersion>
67 GetConnectorDefinitionVersionResult& WithDefinition(DefinitionT&& value) { SetDefinition(std::forward<DefinitionT>(value)); return *this;}
69
71
74 inline const Aws::String& GetId() const { return m_id; }
75 template<typename IdT = Aws::String>
76 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
77 template<typename IdT = Aws::String>
78 GetConnectorDefinitionVersionResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
80
82
86 inline const Aws::String& GetNextToken() const { return m_nextToken; }
87 template<typename NextTokenT = Aws::String>
88 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
89 template<typename NextTokenT = Aws::String>
90 GetConnectorDefinitionVersionResult& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
92
94
97 inline const Aws::String& GetVersion() const { return m_version; }
98 template<typename VersionT = Aws::String>
99 void SetVersion(VersionT&& value) { m_versionHasBeenSet = true; m_version = std::forward<VersionT>(value); }
100 template<typename VersionT = Aws::String>
101 GetConnectorDefinitionVersionResult& WithVersion(VersionT&& value) { SetVersion(std::forward<VersionT>(value)); return *this;}
103
105
106 inline const Aws::String& GetRequestId() const { return m_requestId; }
107 template<typename RequestIdT = Aws::String>
108 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
109 template<typename RequestIdT = Aws::String>
110 GetConnectorDefinitionVersionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
112 private:
113
114 Aws::String m_arn;
115 bool m_arnHasBeenSet = false;
116
117 Aws::String m_creationTimestamp;
118 bool m_creationTimestampHasBeenSet = false;
119
120 ConnectorDefinitionVersion m_definition;
121 bool m_definitionHasBeenSet = false;
122
123 Aws::String m_id;
124 bool m_idHasBeenSet = false;
125
126 Aws::String m_nextToken;
127 bool m_nextTokenHasBeenSet = false;
128
129 Aws::String m_version;
130 bool m_versionHasBeenSet = false;
131
132 Aws::String m_requestId;
133 bool m_requestIdHasBeenSet = false;
134 };
135
136} // namespace Model
137} // namespace Greengrass
138} // namespace Aws
GetConnectorDefinitionVersionResult & WithNextToken(NextTokenT &&value)
GetConnectorDefinitionVersionResult & WithRequestId(RequestIdT &&value)
GetConnectorDefinitionVersionResult & WithVersion(VersionT &&value)
GetConnectorDefinitionVersionResult & WithCreationTimestamp(CreationTimestampT &&value)
AWS_GREENGRASS_API GetConnectorDefinitionVersionResult()=default
AWS_GREENGRASS_API GetConnectorDefinitionVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_GREENGRASS_API GetConnectorDefinitionVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetConnectorDefinitionVersionResult & WithDefinition(DefinitionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue