AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
50 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
51 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
52 inline TestGridProject& WithArn(const Aws::String& value) { SetArn(value); return *this;}
53 inline TestGridProject& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
54 inline TestGridProject& WithArn(const char* value) { SetArn(value); return *this;}
56
58
61 inline const Aws::String& GetName() const{ return m_name; }
62 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
63 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
64 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
65 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
66 inline TestGridProject& WithName(const Aws::String& value) { SetName(value); return *this;}
67 inline TestGridProject& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
68 inline TestGridProject& WithName(const char* value) { SetName(value); return *this;}
70
72
75 inline const Aws::String& GetDescription() const{ return m_description; }
76 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
77 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
78 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
79 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
80 inline TestGridProject& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
81 inline TestGridProject& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
82 inline TestGridProject& WithDescription(const char* value) { SetDescription(value); return *this;}
84
86
89 inline const TestGridVpcConfig& GetVpcConfig() const{ return m_vpcConfig; }
90 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
91 inline void SetVpcConfig(const TestGridVpcConfig& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = value; }
92 inline void SetVpcConfig(TestGridVpcConfig&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::move(value); }
93 inline TestGridProject& WithVpcConfig(const TestGridVpcConfig& value) { SetVpcConfig(value); return *this;}
94 inline TestGridProject& WithVpcConfig(TestGridVpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;}
96
98
101 inline const Aws::Utils::DateTime& GetCreated() const{ return m_created; }
102 inline bool CreatedHasBeenSet() const { return m_createdHasBeenSet; }
103 inline void SetCreated(const Aws::Utils::DateTime& value) { m_createdHasBeenSet = true; m_created = value; }
104 inline void SetCreated(Aws::Utils::DateTime&& value) { m_createdHasBeenSet = true; m_created = std::move(value); }
105 inline TestGridProject& WithCreated(const Aws::Utils::DateTime& value) { SetCreated(value); return *this;}
106 inline TestGridProject& WithCreated(Aws::Utils::DateTime&& value) { SetCreated(std::move(value)); return *this;}
108 private:
109
110 Aws::String m_arn;
111 bool m_arnHasBeenSet = false;
112
113 Aws::String m_name;
114 bool m_nameHasBeenSet = false;
115
116 Aws::String m_description;
117 bool m_descriptionHasBeenSet = false;
118
119 TestGridVpcConfig m_vpcConfig;
120 bool m_vpcConfigHasBeenSet = false;
121
122 Aws::Utils::DateTime m_created;
123 bool m_createdHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace DeviceFarm
128} // namespace Aws
void SetCreated(Aws::Utils::DateTime &&value)
void SetArn(const Aws::String &value)
const Aws::String & GetName() const
TestGridProject & WithCreated(Aws::Utils::DateTime &&value)
void SetDescription(const Aws::String &value)
const Aws::String & GetArn() const
AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const
void SetVpcConfig(TestGridVpcConfig &&value)
TestGridProject & WithName(const char *value)
void SetDescription(Aws::String &&value)
AWS_DEVICEFARM_API TestGridProject & operator=(Aws::Utils::Json::JsonView jsonValue)
TestGridProject & WithVpcConfig(TestGridVpcConfig &&value)
void SetVpcConfig(const TestGridVpcConfig &value)
const Aws::Utils::DateTime & GetCreated() const
void SetName(const Aws::String &value)
TestGridProject & WithDescription(const char *value)
TestGridProject & WithCreated(const Aws::Utils::DateTime &value)
TestGridProject & WithArn(Aws::String &&value)
TestGridProject & WithArn(const Aws::String &value)
TestGridProject & WithDescription(const Aws::String &value)
TestGridProject & WithName(const Aws::String &value)
const TestGridVpcConfig & GetVpcConfig() const
TestGridProject & WithDescription(Aws::String &&value)
TestGridProject & WithVpcConfig(const TestGridVpcConfig &value)
const Aws::String & GetDescription() const
TestGridProject & WithName(Aws::String &&value)
void SetCreated(const Aws::Utils::DateTime &value)
AWS_DEVICEFARM_API TestGridProject(Aws::Utils::Json::JsonView jsonValue)
TestGridProject & WithArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue