AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
TestGridProject.h
1
6#pragma once
7#include <aws/devicefarm/DeviceFarm_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/devicefarm/model/TestGridVpcConfig.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace DeviceFarm
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_DEVICEFARM_API TestGridProject() = default;
38 AWS_DEVICEFARM_API TestGridProject(Aws::Utils::Json::JsonView jsonValue);
40 AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetArn() const { return m_arn; }
48 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
49 template<typename ArnT = Aws::String>
50 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
51 template<typename ArnT = Aws::String>
52 TestGridProject& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
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) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
63 template<typename NameT = Aws::String>
64 TestGridProject& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
66
68
71 inline const Aws::String& GetDescription() const { return m_description; }
72 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
73 template<typename DescriptionT = Aws::String>
74 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
75 template<typename DescriptionT = Aws::String>
76 TestGridProject& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
78
80
83 inline const TestGridVpcConfig& GetVpcConfig() const { return m_vpcConfig; }
84 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
85 template<typename VpcConfigT = TestGridVpcConfig>
86 void SetVpcConfig(VpcConfigT&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::forward<VpcConfigT>(value); }
87 template<typename VpcConfigT = TestGridVpcConfig>
88 TestGridProject& WithVpcConfig(VpcConfigT&& value) { SetVpcConfig(std::forward<VpcConfigT>(value)); return *this;}
90
92
95 inline const Aws::Utils::DateTime& GetCreated() const { return m_created; }
96 inline bool CreatedHasBeenSet() const { return m_createdHasBeenSet; }
97 template<typename CreatedT = Aws::Utils::DateTime>
98 void SetCreated(CreatedT&& value) { m_createdHasBeenSet = true; m_created = std::forward<CreatedT>(value); }
99 template<typename CreatedT = Aws::Utils::DateTime>
100 TestGridProject& WithCreated(CreatedT&& value) { SetCreated(std::forward<CreatedT>(value)); return *this;}
102 private:
103
104 Aws::String m_arn;
105 bool m_arnHasBeenSet = false;
106
107 Aws::String m_name;
108 bool m_nameHasBeenSet = false;
109
110 Aws::String m_description;
111 bool m_descriptionHasBeenSet = false;
112
113 TestGridVpcConfig m_vpcConfig;
114 bool m_vpcConfigHasBeenSet = false;
115
116 Aws::Utils::DateTime m_created{};
117 bool m_createdHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace DeviceFarm
122} // 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