AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreateConnectorDefinitionResult.h
1
6#pragma once
7#include <aws/greengrass/Greengrass_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Greengrass
24{
25namespace Model
26{
28 {
29 public:
30 AWS_GREENGRASS_API CreateConnectorDefinitionResult() = default;
33
34
36
39 inline const Aws::String& GetArn() const { return m_arn; }
40 template<typename ArnT = Aws::String>
41 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
42 template<typename ArnT = Aws::String>
43 CreateConnectorDefinitionResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
45
47
50 inline const Aws::String& GetCreationTimestamp() const { return m_creationTimestamp; }
51 template<typename CreationTimestampT = Aws::String>
52 void SetCreationTimestamp(CreationTimestampT&& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = std::forward<CreationTimestampT>(value); }
53 template<typename CreationTimestampT = Aws::String>
54 CreateConnectorDefinitionResult& WithCreationTimestamp(CreationTimestampT&& value) { SetCreationTimestamp(std::forward<CreationTimestampT>(value)); return *this;}
56
58
61 inline const Aws::String& GetId() const { return m_id; }
62 template<typename IdT = Aws::String>
63 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
64 template<typename IdT = Aws::String>
65 CreateConnectorDefinitionResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
67
69
72 inline const Aws::String& GetLastUpdatedTimestamp() const { return m_lastUpdatedTimestamp; }
73 template<typename LastUpdatedTimestampT = Aws::String>
74 void SetLastUpdatedTimestamp(LastUpdatedTimestampT&& value) { m_lastUpdatedTimestampHasBeenSet = true; m_lastUpdatedTimestamp = std::forward<LastUpdatedTimestampT>(value); }
75 template<typename LastUpdatedTimestampT = Aws::String>
76 CreateConnectorDefinitionResult& WithLastUpdatedTimestamp(LastUpdatedTimestampT&& value) { SetLastUpdatedTimestamp(std::forward<LastUpdatedTimestampT>(value)); return *this;}
78
80
83 inline const Aws::String& GetLatestVersion() const { return m_latestVersion; }
84 template<typename LatestVersionT = Aws::String>
85 void SetLatestVersion(LatestVersionT&& value) { m_latestVersionHasBeenSet = true; m_latestVersion = std::forward<LatestVersionT>(value); }
86 template<typename LatestVersionT = Aws::String>
87 CreateConnectorDefinitionResult& WithLatestVersion(LatestVersionT&& value) { SetLatestVersion(std::forward<LatestVersionT>(value)); return *this;}
89
91
94 inline const Aws::String& GetLatestVersionArn() const { return m_latestVersionArn; }
95 template<typename LatestVersionArnT = Aws::String>
96 void SetLatestVersionArn(LatestVersionArnT&& value) { m_latestVersionArnHasBeenSet = true; m_latestVersionArn = std::forward<LatestVersionArnT>(value); }
97 template<typename LatestVersionArnT = Aws::String>
98 CreateConnectorDefinitionResult& WithLatestVersionArn(LatestVersionArnT&& value) { SetLatestVersionArn(std::forward<LatestVersionArnT>(value)); return *this;}
100
102
105 inline const Aws::String& GetName() const { return m_name; }
106 template<typename NameT = Aws::String>
107 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
108 template<typename NameT = Aws::String>
109 CreateConnectorDefinitionResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
111
113
114 inline const Aws::String& GetRequestId() const { return m_requestId; }
115 template<typename RequestIdT = Aws::String>
116 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
117 template<typename RequestIdT = Aws::String>
118 CreateConnectorDefinitionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
120 private:
121
122 Aws::String m_arn;
123 bool m_arnHasBeenSet = false;
124
125 Aws::String m_creationTimestamp;
126 bool m_creationTimestampHasBeenSet = false;
127
128 Aws::String m_id;
129 bool m_idHasBeenSet = false;
130
131 Aws::String m_lastUpdatedTimestamp;
132 bool m_lastUpdatedTimestampHasBeenSet = false;
133
134 Aws::String m_latestVersion;
135 bool m_latestVersionHasBeenSet = false;
136
137 Aws::String m_latestVersionArn;
138 bool m_latestVersionArnHasBeenSet = false;
139
140 Aws::String m_name;
141 bool m_nameHasBeenSet = false;
142
143 Aws::String m_requestId;
144 bool m_requestIdHasBeenSet = false;
145 };
146
147} // namespace Model
148} // namespace Greengrass
149} // namespace Aws
AWS_GREENGRASS_API CreateConnectorDefinitionResult()=default
CreateConnectorDefinitionResult & WithRequestId(RequestIdT &&value)
CreateConnectorDefinitionResult & WithLatestVersionArn(LatestVersionArnT &&value)
AWS_GREENGRASS_API CreateConnectorDefinitionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateConnectorDefinitionResult & WithLatestVersion(LatestVersionT &&value)
CreateConnectorDefinitionResult & WithName(NameT &&value)
AWS_GREENGRASS_API CreateConnectorDefinitionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateConnectorDefinitionResult & WithLastUpdatedTimestamp(LastUpdatedTimestampT &&value)
CreateConnectorDefinitionResult & WithCreationTimestamp(CreationTimestampT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue