AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetDeviceDefinitionVersionResult.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/DeviceDefinitionVersion.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:
34
35
37
40 inline const Aws::String& GetArn() const{ return m_arn; }
41 inline void SetArn(const Aws::String& value) { m_arn = value; }
42 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
43 inline void SetArn(const char* value) { m_arn.assign(value); }
44 inline GetDeviceDefinitionVersionResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
45 inline GetDeviceDefinitionVersionResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
46 inline GetDeviceDefinitionVersionResult& WithArn(const char* value) { SetArn(value); return *this;}
48
50
54 inline const Aws::String& GetCreationTimestamp() const{ return m_creationTimestamp; }
55 inline void SetCreationTimestamp(const Aws::String& value) { m_creationTimestamp = value; }
56 inline void SetCreationTimestamp(Aws::String&& value) { m_creationTimestamp = std::move(value); }
57 inline void SetCreationTimestamp(const char* value) { m_creationTimestamp.assign(value); }
60 inline GetDeviceDefinitionVersionResult& WithCreationTimestamp(const char* value) { SetCreationTimestamp(value); return *this;}
62
64
67 inline const DeviceDefinitionVersion& GetDefinition() const{ return m_definition; }
68 inline void SetDefinition(const DeviceDefinitionVersion& value) { m_definition = value; }
69 inline void SetDefinition(DeviceDefinitionVersion&& value) { m_definition = std::move(value); }
71 inline GetDeviceDefinitionVersionResult& WithDefinition(DeviceDefinitionVersion&& value) { SetDefinition(std::move(value)); return *this;}
73
75
78 inline const Aws::String& GetId() const{ return m_id; }
79 inline void SetId(const Aws::String& value) { m_id = value; }
80 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
81 inline void SetId(const char* value) { m_id.assign(value); }
82 inline GetDeviceDefinitionVersionResult& WithId(const Aws::String& value) { SetId(value); return *this;}
83 inline GetDeviceDefinitionVersionResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
84 inline GetDeviceDefinitionVersionResult& WithId(const char* value) { SetId(value); return *this;}
86
88
92 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
93 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
94 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
95 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
96 inline GetDeviceDefinitionVersionResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
97 inline GetDeviceDefinitionVersionResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
98 inline GetDeviceDefinitionVersionResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
100
102
105 inline const Aws::String& GetVersion() const{ return m_version; }
106 inline void SetVersion(const Aws::String& value) { m_version = value; }
107 inline void SetVersion(Aws::String&& value) { m_version = std::move(value); }
108 inline void SetVersion(const char* value) { m_version.assign(value); }
109 inline GetDeviceDefinitionVersionResult& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
110 inline GetDeviceDefinitionVersionResult& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
111 inline GetDeviceDefinitionVersionResult& WithVersion(const char* value) { SetVersion(value); return *this;}
113
115
116 inline const Aws::String& GetRequestId() const{ return m_requestId; }
117 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
118 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
119 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
120 inline GetDeviceDefinitionVersionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
121 inline GetDeviceDefinitionVersionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
122 inline GetDeviceDefinitionVersionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
124 private:
125
126 Aws::String m_arn;
127
128 Aws::String m_creationTimestamp;
129
130 DeviceDefinitionVersion m_definition;
131
132 Aws::String m_id;
133
134 Aws::String m_nextToken;
135
136 Aws::String m_version;
137
138 Aws::String m_requestId;
139 };
140
141} // namespace Model
142} // namespace Greengrass
143} // namespace Aws
GetDeviceDefinitionVersionResult & WithArn(const char *value)
GetDeviceDefinitionVersionResult & WithVersion(const char *value)
GetDeviceDefinitionVersionResult & WithDefinition(const DeviceDefinitionVersion &value)
GetDeviceDefinitionVersionResult & WithArn(Aws::String &&value)
GetDeviceDefinitionVersionResult & WithRequestId(const char *value)
GetDeviceDefinitionVersionResult & WithNextToken(const char *value)
GetDeviceDefinitionVersionResult & WithArn(const Aws::String &value)
GetDeviceDefinitionVersionResult & WithDefinition(DeviceDefinitionVersion &&value)
GetDeviceDefinitionVersionResult & WithId(Aws::String &&value)
GetDeviceDefinitionVersionResult & WithVersion(Aws::String &&value)
GetDeviceDefinitionVersionResult & WithNextToken(const Aws::String &value)
GetDeviceDefinitionVersionResult & WithNextToken(Aws::String &&value)
GetDeviceDefinitionVersionResult & WithRequestId(const Aws::String &value)
AWS_GREENGRASS_API GetDeviceDefinitionVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_GREENGRASS_API GetDeviceDefinitionVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDeviceDefinitionVersionResult & WithId(const Aws::String &value)
GetDeviceDefinitionVersionResult & WithCreationTimestamp(const Aws::String &value)
GetDeviceDefinitionVersionResult & WithId(const char *value)
GetDeviceDefinitionVersionResult & WithRequestId(Aws::String &&value)
GetDeviceDefinitionVersionResult & WithVersion(const Aws::String &value)
GetDeviceDefinitionVersionResult & WithCreationTimestamp(Aws::String &&value)
GetDeviceDefinitionVersionResult & WithCreationTimestamp(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue