AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateComponentVersionResult.h
1
6#pragma once
7#include <aws/greengrassv2/GreengrassV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/greengrassv2/model/CloudComponentStatus.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace GreengrassV2
26{
27namespace Model
28{
30 {
31 public:
32 AWS_GREENGRASSV2_API CreateComponentVersionResult();
35
36
38
43 inline const Aws::String& GetArn() const{ return m_arn; }
44 inline void SetArn(const Aws::String& value) { m_arn = value; }
45 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
46 inline void SetArn(const char* value) { m_arn.assign(value); }
47 inline CreateComponentVersionResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
48 inline CreateComponentVersionResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
49 inline CreateComponentVersionResult& WithArn(const char* value) { SetArn(value); return *this;}
51
53
56 inline const Aws::String& GetComponentName() const{ return m_componentName; }
57 inline void SetComponentName(const Aws::String& value) { m_componentName = value; }
58 inline void SetComponentName(Aws::String&& value) { m_componentName = std::move(value); }
59 inline void SetComponentName(const char* value) { m_componentName.assign(value); }
60 inline CreateComponentVersionResult& WithComponentName(const Aws::String& value) { SetComponentName(value); return *this;}
61 inline CreateComponentVersionResult& WithComponentName(Aws::String&& value) { SetComponentName(std::move(value)); return *this;}
62 inline CreateComponentVersionResult& WithComponentName(const char* value) { SetComponentName(value); return *this;}
64
66
69 inline const Aws::String& GetComponentVersion() const{ return m_componentVersion; }
70 inline void SetComponentVersion(const Aws::String& value) { m_componentVersion = value; }
71 inline void SetComponentVersion(Aws::String&& value) { m_componentVersion = std::move(value); }
72 inline void SetComponentVersion(const char* value) { m_componentVersion.assign(value); }
74 inline CreateComponentVersionResult& WithComponentVersion(Aws::String&& value) { SetComponentVersion(std::move(value)); return *this;}
75 inline CreateComponentVersionResult& WithComponentVersion(const char* value) { SetComponentVersion(value); return *this;}
77
79
83 inline const Aws::Utils::DateTime& GetCreationTimestamp() const{ return m_creationTimestamp; }
84 inline void SetCreationTimestamp(const Aws::Utils::DateTime& value) { m_creationTimestamp = value; }
85 inline void SetCreationTimestamp(Aws::Utils::DateTime&& value) { m_creationTimestamp = std::move(value); }
89
91
95 inline const CloudComponentStatus& GetStatus() const{ return m_status; }
96 inline void SetStatus(const CloudComponentStatus& value) { m_status = value; }
97 inline void SetStatus(CloudComponentStatus&& value) { m_status = std::move(value); }
98 inline CreateComponentVersionResult& WithStatus(const CloudComponentStatus& value) { SetStatus(value); return *this;}
99 inline CreateComponentVersionResult& WithStatus(CloudComponentStatus&& value) { SetStatus(std::move(value)); return *this;}
101
103
104 inline const Aws::String& GetRequestId() const{ return m_requestId; }
105 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
106 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
107 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
108 inline CreateComponentVersionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
109 inline CreateComponentVersionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
110 inline CreateComponentVersionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
112 private:
113
114 Aws::String m_arn;
115
116 Aws::String m_componentName;
117
118 Aws::String m_componentVersion;
119
120 Aws::Utils::DateTime m_creationTimestamp;
121
122 CloudComponentStatus m_status;
123
124 Aws::String m_requestId;
125 };
126
127} // namespace Model
128} // namespace GreengrassV2
129} // namespace Aws
CreateComponentVersionResult & WithComponentName(Aws::String &&value)
CreateComponentVersionResult & WithArn(Aws::String &&value)
CreateComponentVersionResult & WithStatus(CloudComponentStatus &&value)
CreateComponentVersionResult & WithArn(const Aws::String &value)
CreateComponentVersionResult & WithRequestId(Aws::String &&value)
AWS_GREENGRASSV2_API CreateComponentVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateComponentVersionResult & WithComponentVersion(Aws::String &&value)
CreateComponentVersionResult & WithComponentVersion(const char *value)
CreateComponentVersionResult & WithComponentVersion(const Aws::String &value)
CreateComponentVersionResult & WithCreationTimestamp(Aws::Utils::DateTime &&value)
CreateComponentVersionResult & WithComponentName(const char *value)
CreateComponentVersionResult & WithComponentName(const Aws::String &value)
CreateComponentVersionResult & WithStatus(const CloudComponentStatus &value)
CreateComponentVersionResult & WithCreationTimestamp(const Aws::Utils::DateTime &value)
AWS_GREENGRASSV2_API CreateComponentVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateComponentVersionResult & WithRequestId(const char *value)
CreateComponentVersionResult & WithRequestId(const Aws::String &value)
CreateComponentVersionResult & WithArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue