AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
TestGridProject.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/devicefarm/DeviceFarm_EXPORTS.h>
10#include <aws/devicefarm/model/TestGridVpcConfig.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace DeviceFarm {
22namespace Model {
23
31 public:
32 AWS_DEVICEFARM_API TestGridProject() = default;
33 AWS_DEVICEFARM_API TestGridProject(Aws::Utils::Json::JsonView jsonValue);
35 AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetArn() const { return m_arn; }
42 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
43 template <typename ArnT = Aws::String>
44 void SetArn(ArnT&& value) {
45 m_arnHasBeenSet = true;
46 m_arn = std::forward<ArnT>(value);
47 }
48 template <typename ArnT = Aws::String>
49 TestGridProject& WithArn(ArnT&& value) {
50 SetArn(std::forward<ArnT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetName() const { return m_name; }
60 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
61 template <typename NameT = Aws::String>
62 void SetName(NameT&& value) {
63 m_nameHasBeenSet = true;
64 m_name = std::forward<NameT>(value);
65 }
66 template <typename NameT = Aws::String>
67 TestGridProject& WithName(NameT&& value) {
68 SetName(std::forward<NameT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetDescription() const { return m_description; }
78 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
79 template <typename DescriptionT = Aws::String>
80 void SetDescription(DescriptionT&& value) {
81 m_descriptionHasBeenSet = true;
82 m_description = std::forward<DescriptionT>(value);
83 }
84 template <typename DescriptionT = Aws::String>
85 TestGridProject& WithDescription(DescriptionT&& value) {
86 SetDescription(std::forward<DescriptionT>(value));
87 return *this;
88 }
90
92
95 inline const TestGridVpcConfig& GetVpcConfig() const { return m_vpcConfig; }
96 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
97 template <typename VpcConfigT = TestGridVpcConfig>
98 void SetVpcConfig(VpcConfigT&& value) {
99 m_vpcConfigHasBeenSet = true;
100 m_vpcConfig = std::forward<VpcConfigT>(value);
101 }
102 template <typename VpcConfigT = TestGridVpcConfig>
103 TestGridProject& WithVpcConfig(VpcConfigT&& value) {
104 SetVpcConfig(std::forward<VpcConfigT>(value));
105 return *this;
106 }
108
110
113 inline const Aws::Utils::DateTime& GetCreated() const { return m_created; }
114 inline bool CreatedHasBeenSet() const { return m_createdHasBeenSet; }
115 template <typename CreatedT = Aws::Utils::DateTime>
116 void SetCreated(CreatedT&& value) {
117 m_createdHasBeenSet = true;
118 m_created = std::forward<CreatedT>(value);
119 }
120 template <typename CreatedT = Aws::Utils::DateTime>
121 TestGridProject& WithCreated(CreatedT&& value) {
122 SetCreated(std::forward<CreatedT>(value));
123 return *this;
124 }
126 private:
127 Aws::String m_arn;
128
129 Aws::String m_name;
130
131 Aws::String m_description;
132
133 TestGridVpcConfig m_vpcConfig;
134
135 Aws::Utils::DateTime m_created{};
136 bool m_arnHasBeenSet = false;
137 bool m_nameHasBeenSet = false;
138 bool m_descriptionHasBeenSet = false;
139 bool m_vpcConfigHasBeenSet = false;
140 bool m_createdHasBeenSet = false;
141};
142
143} // namespace Model
144} // namespace DeviceFarm
145} // namespace Aws
const Aws::String & GetName() const
AWS_DEVICEFARM_API TestGridProject()=default
void SetDescription(DescriptionT &&value)
const Aws::String & GetArn() const
AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const
TestGridProject & WithArn(ArnT &&value)
TestGridProject & WithVpcConfig(VpcConfigT &&value)
TestGridProject & WithName(NameT &&value)
AWS_DEVICEFARM_API TestGridProject & operator=(Aws::Utils::Json::JsonView jsonValue)
TestGridProject & WithDescription(DescriptionT &&value)
const Aws::Utils::DateTime & GetCreated() const
const TestGridVpcConfig & GetVpcConfig() const
const Aws::String & GetDescription() const
TestGridProject & WithCreated(CreatedT &&value)
AWS_DEVICEFARM_API TestGridProject(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue