AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreateDeviceDefinitionVersionResult.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 CreateDeviceDefinitionVersionResult() = 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 CreateDeviceDefinitionVersionResult& 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 CreateDeviceDefinitionVersionResult& 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 CreateDeviceDefinitionVersionResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
67
69
72 inline const Aws::String& GetVersion() const { return m_version; }
73 template<typename VersionT = Aws::String>
74 void SetVersion(VersionT&& value) { m_versionHasBeenSet = true; m_version = std::forward<VersionT>(value); }
75 template<typename VersionT = Aws::String>
76 CreateDeviceDefinitionVersionResult& WithVersion(VersionT&& value) { SetVersion(std::forward<VersionT>(value)); return *this;}
78
80
81 inline const Aws::String& GetRequestId() const { return m_requestId; }
82 template<typename RequestIdT = Aws::String>
83 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
84 template<typename RequestIdT = Aws::String>
85 CreateDeviceDefinitionVersionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
87 private:
88
89 Aws::String m_arn;
90 bool m_arnHasBeenSet = false;
91
92 Aws::String m_creationTimestamp;
93 bool m_creationTimestampHasBeenSet = false;
94
95 Aws::String m_id;
96 bool m_idHasBeenSet = false;
97
98 Aws::String m_version;
99 bool m_versionHasBeenSet = false;
100
101 Aws::String m_requestId;
102 bool m_requestIdHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace Greengrass
107} // namespace Aws
CreateDeviceDefinitionVersionResult & WithRequestId(RequestIdT &&value)
AWS_GREENGRASS_API CreateDeviceDefinitionVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_GREENGRASS_API CreateDeviceDefinitionVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateDeviceDefinitionVersionResult & WithVersion(VersionT &&value)
CreateDeviceDefinitionVersionResult & WithCreationTimestamp(CreationTimestampT &&value)
AWS_GREENGRASS_API CreateDeviceDefinitionVersionResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue