AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
35
36
38
43 inline const Aws::String& GetArn() const { return m_arn; }
44 template<typename ArnT = Aws::String>
45 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
46 template<typename ArnT = Aws::String>
47 CreateComponentVersionResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
49
51
54 inline const Aws::String& GetComponentName() const { return m_componentName; }
55 template<typename ComponentNameT = Aws::String>
56 void SetComponentName(ComponentNameT&& value) { m_componentNameHasBeenSet = true; m_componentName = std::forward<ComponentNameT>(value); }
57 template<typename ComponentNameT = Aws::String>
58 CreateComponentVersionResult& WithComponentName(ComponentNameT&& value) { SetComponentName(std::forward<ComponentNameT>(value)); return *this;}
60
62
65 inline const Aws::String& GetComponentVersion() const { return m_componentVersion; }
66 template<typename ComponentVersionT = Aws::String>
67 void SetComponentVersion(ComponentVersionT&& value) { m_componentVersionHasBeenSet = true; m_componentVersion = std::forward<ComponentVersionT>(value); }
68 template<typename ComponentVersionT = Aws::String>
69 CreateComponentVersionResult& WithComponentVersion(ComponentVersionT&& value) { SetComponentVersion(std::forward<ComponentVersionT>(value)); return *this;}
71
73
77 inline const Aws::Utils::DateTime& GetCreationTimestamp() const { return m_creationTimestamp; }
78 template<typename CreationTimestampT = Aws::Utils::DateTime>
79 void SetCreationTimestamp(CreationTimestampT&& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = std::forward<CreationTimestampT>(value); }
80 template<typename CreationTimestampT = Aws::Utils::DateTime>
81 CreateComponentVersionResult& WithCreationTimestamp(CreationTimestampT&& value) { SetCreationTimestamp(std::forward<CreationTimestampT>(value)); return *this;}
83
85
89 inline const CloudComponentStatus& GetStatus() const { return m_status; }
90 template<typename StatusT = CloudComponentStatus>
91 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
92 template<typename StatusT = CloudComponentStatus>
93 CreateComponentVersionResult& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
95
97
98 inline const Aws::String& GetRequestId() const { return m_requestId; }
99 template<typename RequestIdT = Aws::String>
100 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
101 template<typename RequestIdT = Aws::String>
102 CreateComponentVersionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
104 private:
105
106 Aws::String m_arn;
107 bool m_arnHasBeenSet = false;
108
109 Aws::String m_componentName;
110 bool m_componentNameHasBeenSet = false;
111
112 Aws::String m_componentVersion;
113 bool m_componentVersionHasBeenSet = false;
114
115 Aws::Utils::DateTime m_creationTimestamp{};
116 bool m_creationTimestampHasBeenSet = false;
117
118 CloudComponentStatus m_status;
119 bool m_statusHasBeenSet = false;
120
121 Aws::String m_requestId;
122 bool m_requestIdHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace GreengrassV2
127} // namespace Aws
AWS_GREENGRASSV2_API CreateComponentVersionResult()=default
AWS_GREENGRASSV2_API CreateComponentVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateComponentVersionResult & WithStatus(StatusT &&value)
CreateComponentVersionResult & WithComponentName(ComponentNameT &&value)
CreateComponentVersionResult & WithCreationTimestamp(CreationTimestampT &&value)
CreateComponentVersionResult & WithComponentVersion(ComponentVersionT &&value)
CreateComponentVersionResult & WithRequestId(RequestIdT &&value)
AWS_GREENGRASSV2_API CreateComponentVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue