AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateGroupVersionResult.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 CreateGroupVersionResult();
33
34
36
39 inline const Aws::String& GetArn() const{ return m_arn; }
40 inline void SetArn(const Aws::String& value) { m_arn = value; }
41 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
42 inline void SetArn(const char* value) { m_arn.assign(value); }
43 inline CreateGroupVersionResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
44 inline CreateGroupVersionResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
45 inline CreateGroupVersionResult& WithArn(const char* value) { SetArn(value); return *this;}
47
49
52 inline const Aws::String& GetCreationTimestamp() const{ return m_creationTimestamp; }
53 inline void SetCreationTimestamp(const Aws::String& value) { m_creationTimestamp = value; }
54 inline void SetCreationTimestamp(Aws::String&& value) { m_creationTimestamp = std::move(value); }
55 inline void SetCreationTimestamp(const char* value) { m_creationTimestamp.assign(value); }
57 inline CreateGroupVersionResult& WithCreationTimestamp(Aws::String&& value) { SetCreationTimestamp(std::move(value)); return *this;}
58 inline CreateGroupVersionResult& WithCreationTimestamp(const char* value) { SetCreationTimestamp(value); return *this;}
60
62
65 inline const Aws::String& GetId() const{ return m_id; }
66 inline void SetId(const Aws::String& value) { m_id = value; }
67 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
68 inline void SetId(const char* value) { m_id.assign(value); }
69 inline CreateGroupVersionResult& WithId(const Aws::String& value) { SetId(value); return *this;}
70 inline CreateGroupVersionResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
71 inline CreateGroupVersionResult& WithId(const char* value) { SetId(value); return *this;}
73
75
78 inline const Aws::String& GetVersion() const{ return m_version; }
79 inline void SetVersion(const Aws::String& value) { m_version = value; }
80 inline void SetVersion(Aws::String&& value) { m_version = std::move(value); }
81 inline void SetVersion(const char* value) { m_version.assign(value); }
82 inline CreateGroupVersionResult& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
83 inline CreateGroupVersionResult& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
84 inline CreateGroupVersionResult& WithVersion(const char* value) { SetVersion(value); return *this;}
86
88
89 inline const Aws::String& GetRequestId() const{ return m_requestId; }
90 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
91 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
92 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
93 inline CreateGroupVersionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
94 inline CreateGroupVersionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
95 inline CreateGroupVersionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
97 private:
98
99 Aws::String m_arn;
100
101 Aws::String m_creationTimestamp;
102
103 Aws::String m_id;
104
105 Aws::String m_version;
106
107 Aws::String m_requestId;
108 };
109
110} // namespace Model
111} // namespace Greengrass
112} // namespace Aws
CreateGroupVersionResult & WithVersion(const char *value)
CreateGroupVersionResult & WithId(const Aws::String &value)
CreateGroupVersionResult & WithArn(const Aws::String &value)
CreateGroupVersionResult & WithRequestId(const char *value)
CreateGroupVersionResult & WithCreationTimestamp(const Aws::String &value)
CreateGroupVersionResult & WithVersion(const Aws::String &value)
CreateGroupVersionResult & WithRequestId(const Aws::String &value)
CreateGroupVersionResult & WithArn(Aws::String &&value)
CreateGroupVersionResult & WithCreationTimestamp(const char *value)
CreateGroupVersionResult & WithId(const char *value)
CreateGroupVersionResult & WithCreationTimestamp(Aws::String &&value)
CreateGroupVersionResult & WithRequestId(Aws::String &&value)
AWS_GREENGRASS_API CreateGroupVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_GREENGRASS_API CreateGroupVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateGroupVersionResult & WithVersion(Aws::String &&value)
CreateGroupVersionResult & WithArn(const char *value)
CreateGroupVersionResult & WithId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue