AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Project.h
1
6#pragma once
7#include <aws/devicefarm/DeviceFarm_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/devicefarm/model/VpcConfig.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
34 class Project
35 {
36 public:
37 AWS_DEVICEFARM_API Project();
38 AWS_DEVICEFARM_API Project(Aws::Utils::Json::JsonView jsonValue);
39 AWS_DEVICEFARM_API Project& operator=(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 Project& WithArn(const Aws::String& value) { SetArn(value); return *this;}
53 inline Project& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
54 inline Project& 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 Project& WithName(const Aws::String& value) { SetName(value); return *this;}
67 inline Project& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
68 inline Project& WithName(const char* value) { SetName(value); return *this;}
70
72
76 inline int GetDefaultJobTimeoutMinutes() const{ return m_defaultJobTimeoutMinutes; }
77 inline bool DefaultJobTimeoutMinutesHasBeenSet() const { return m_defaultJobTimeoutMinutesHasBeenSet; }
78 inline void SetDefaultJobTimeoutMinutes(int value) { m_defaultJobTimeoutMinutesHasBeenSet = true; m_defaultJobTimeoutMinutes = value; }
79 inline Project& WithDefaultJobTimeoutMinutes(int value) { SetDefaultJobTimeoutMinutes(value); return *this;}
81
83
86 inline const Aws::Utils::DateTime& GetCreated() const{ return m_created; }
87 inline bool CreatedHasBeenSet() const { return m_createdHasBeenSet; }
88 inline void SetCreated(const Aws::Utils::DateTime& value) { m_createdHasBeenSet = true; m_created = value; }
89 inline void SetCreated(Aws::Utils::DateTime&& value) { m_createdHasBeenSet = true; m_created = std::move(value); }
90 inline Project& WithCreated(const Aws::Utils::DateTime& value) { SetCreated(value); return *this;}
91 inline Project& WithCreated(Aws::Utils::DateTime&& value) { SetCreated(std::move(value)); return *this;}
93
95
98 inline const VpcConfig& GetVpcConfig() const{ return m_vpcConfig; }
99 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
100 inline void SetVpcConfig(const VpcConfig& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = value; }
101 inline void SetVpcConfig(VpcConfig&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::move(value); }
102 inline Project& WithVpcConfig(const VpcConfig& value) { SetVpcConfig(value); return *this;}
103 inline Project& WithVpcConfig(VpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;}
105 private:
106
107 Aws::String m_arn;
108 bool m_arnHasBeenSet = false;
109
110 Aws::String m_name;
111 bool m_nameHasBeenSet = false;
112
113 int m_defaultJobTimeoutMinutes;
114 bool m_defaultJobTimeoutMinutesHasBeenSet = false;
115
116 Aws::Utils::DateTime m_created;
117 bool m_createdHasBeenSet = false;
118
119 VpcConfig m_vpcConfig;
120 bool m_vpcConfigHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace DeviceFarm
125} // namespace Aws
Project & WithName(const Aws::String &value)
Definition Project.h:66
void SetVpcConfig(VpcConfig &&value)
Definition Project.h:101
bool VpcConfigHasBeenSet() const
Definition Project.h:99
void SetCreated(const Aws::Utils::DateTime &value)
Definition Project.h:88
const Aws::Utils::DateTime & GetCreated() const
Definition Project.h:86
const VpcConfig & GetVpcConfig() const
Definition Project.h:98
AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const
void SetArn(Aws::String &&value)
Definition Project.h:50
Project & WithVpcConfig(VpcConfig &&value)
Definition Project.h:103
void SetName(const char *value)
Definition Project.h:65
void SetDefaultJobTimeoutMinutes(int value)
Definition Project.h:78
void SetArn(const Aws::String &value)
Definition Project.h:49
Project & WithVpcConfig(const VpcConfig &value)
Definition Project.h:102
void SetCreated(Aws::Utils::DateTime &&value)
Definition Project.h:89
void SetArn(const char *value)
Definition Project.h:51
Project & WithCreated(const Aws::Utils::DateTime &value)
Definition Project.h:90
AWS_DEVICEFARM_API Project(Aws::Utils::Json::JsonView jsonValue)
Project & WithName(const char *value)
Definition Project.h:68
const Aws::String & GetArn() const
Definition Project.h:47
Project & WithArn(const Aws::String &value)
Definition Project.h:52
Project & WithCreated(Aws::Utils::DateTime &&value)
Definition Project.h:91
void SetName(Aws::String &&value)
Definition Project.h:64
AWS_DEVICEFARM_API Project & operator=(Aws::Utils::Json::JsonView jsonValue)
Project & WithArn(Aws::String &&value)
Definition Project.h:53
Project & WithDefaultJobTimeoutMinutes(int value)
Definition Project.h:79
void SetName(const Aws::String &value)
Definition Project.h:63
Project & WithArn(const char *value)
Definition Project.h:54
int GetDefaultJobTimeoutMinutes() const
Definition Project.h:76
AWS_DEVICEFARM_API Project()
void SetVpcConfig(const VpcConfig &value)
Definition Project.h:100
const Aws::String & GetName() const
Definition Project.h:61
Project & WithName(Aws::String &&value)
Definition Project.h:67
bool DefaultJobTimeoutMinutesHasBeenSet() const
Definition Project.h:77
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue