AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ReportGroup.h
1
6#pragma once
7#include <aws/codebuild/CodeBuild_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/codebuild/model/ReportType.h>
10#include <aws/codebuild/model/ReportExportConfig.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/codebuild/model/ReportGroupStatusType.h>
14#include <aws/codebuild/model/Tag.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace CodeBuild
28{
29namespace Model
30{
31
41 {
42 public:
43 AWS_CODEBUILD_API ReportGroup();
44 AWS_CODEBUILD_API ReportGroup(Aws::Utils::Json::JsonView jsonValue);
45 AWS_CODEBUILD_API ReportGroup& operator=(Aws::Utils::Json::JsonView jsonValue);
46 AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const;
47
48
50
53 inline const Aws::String& GetArn() const{ return m_arn; }
54 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
55 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
56 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
57 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
58 inline ReportGroup& WithArn(const Aws::String& value) { SetArn(value); return *this;}
59 inline ReportGroup& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
60 inline ReportGroup& WithArn(const char* value) { SetArn(value); return *this;}
62
64
67 inline const Aws::String& GetName() const{ return m_name; }
68 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
69 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
70 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
71 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
72 inline ReportGroup& WithName(const Aws::String& value) { SetName(value); return *this;}
73 inline ReportGroup& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
74 inline ReportGroup& WithName(const char* value) { SetName(value); return *this;}
76
78
84 inline const ReportType& GetType() const{ return m_type; }
85 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
86 inline void SetType(const ReportType& value) { m_typeHasBeenSet = true; m_type = value; }
87 inline void SetType(ReportType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
88 inline ReportGroup& WithType(const ReportType& value) { SetType(value); return *this;}
89 inline ReportGroup& WithType(ReportType&& value) { SetType(std::move(value)); return *this;}
91
93
97 inline const ReportExportConfig& GetExportConfig() const{ return m_exportConfig; }
98 inline bool ExportConfigHasBeenSet() const { return m_exportConfigHasBeenSet; }
99 inline void SetExportConfig(const ReportExportConfig& value) { m_exportConfigHasBeenSet = true; m_exportConfig = value; }
100 inline void SetExportConfig(ReportExportConfig&& value) { m_exportConfigHasBeenSet = true; m_exportConfig = std::move(value); }
101 inline ReportGroup& WithExportConfig(const ReportExportConfig& value) { SetExportConfig(value); return *this;}
102 inline ReportGroup& WithExportConfig(ReportExportConfig&& value) { SetExportConfig(std::move(value)); return *this;}
104
106
109 inline const Aws::Utils::DateTime& GetCreated() const{ return m_created; }
110 inline bool CreatedHasBeenSet() const { return m_createdHasBeenSet; }
111 inline void SetCreated(const Aws::Utils::DateTime& value) { m_createdHasBeenSet = true; m_created = value; }
112 inline void SetCreated(Aws::Utils::DateTime&& value) { m_createdHasBeenSet = true; m_created = std::move(value); }
113 inline ReportGroup& WithCreated(const Aws::Utils::DateTime& value) { SetCreated(value); return *this;}
114 inline ReportGroup& WithCreated(Aws::Utils::DateTime&& value) { SetCreated(std::move(value)); return *this;}
116
118
121 inline const Aws::Utils::DateTime& GetLastModified() const{ return m_lastModified; }
122 inline bool LastModifiedHasBeenSet() const { return m_lastModifiedHasBeenSet; }
123 inline void SetLastModified(const Aws::Utils::DateTime& value) { m_lastModifiedHasBeenSet = true; m_lastModified = value; }
124 inline void SetLastModified(Aws::Utils::DateTime&& value) { m_lastModifiedHasBeenSet = true; m_lastModified = std::move(value); }
125 inline ReportGroup& WithLastModified(const Aws::Utils::DateTime& value) { SetLastModified(value); return *this;}
126 inline ReportGroup& WithLastModified(Aws::Utils::DateTime&& value) { SetLastModified(std::move(value)); return *this;}
128
130
135 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
136 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
137 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
138 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
139 inline ReportGroup& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
140 inline ReportGroup& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
141 inline ReportGroup& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
142 inline ReportGroup& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
144
146
152 inline const ReportGroupStatusType& GetStatus() const{ return m_status; }
153 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
154 inline void SetStatus(const ReportGroupStatusType& value) { m_statusHasBeenSet = true; m_status = value; }
155 inline void SetStatus(ReportGroupStatusType&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
156 inline ReportGroup& WithStatus(const ReportGroupStatusType& value) { SetStatus(value); return *this;}
157 inline ReportGroup& WithStatus(ReportGroupStatusType&& value) { SetStatus(std::move(value)); return *this;}
159 private:
160
161 Aws::String m_arn;
162 bool m_arnHasBeenSet = false;
163
164 Aws::String m_name;
165 bool m_nameHasBeenSet = false;
166
167 ReportType m_type;
168 bool m_typeHasBeenSet = false;
169
170 ReportExportConfig m_exportConfig;
171 bool m_exportConfigHasBeenSet = false;
172
173 Aws::Utils::DateTime m_created;
174 bool m_createdHasBeenSet = false;
175
176 Aws::Utils::DateTime m_lastModified;
177 bool m_lastModifiedHasBeenSet = false;
178
179 Aws::Vector<Tag> m_tags;
180 bool m_tagsHasBeenSet = false;
181
182 ReportGroupStatusType m_status;
183 bool m_statusHasBeenSet = false;
184 };
185
186} // namespace Model
187} // namespace CodeBuild
188} // namespace Aws
const ReportType & GetType() const
Definition ReportGroup.h:84
const ReportExportConfig & GetExportConfig() const
Definition ReportGroup.h:97
void SetArn(const char *value)
Definition ReportGroup.h:57
void SetStatus(ReportGroupStatusType &&value)
ReportGroup & WithArn(Aws::String &&value)
Definition ReportGroup.h:59
ReportGroup & WithCreated(const Aws::Utils::DateTime &value)
void SetName(const Aws::String &value)
Definition ReportGroup.h:69
ReportGroup & WithTags(Aws::Vector< Tag > &&value)
void SetTags(const Aws::Vector< Tag > &value)
ReportGroup & WithType(ReportType &&value)
Definition ReportGroup.h:89
const Aws::Utils::DateTime & GetCreated() const
ReportGroup & WithArn(const Aws::String &value)
Definition ReportGroup.h:58
AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLastModified(const Aws::Utils::DateTime &value)
ReportGroup & WithLastModified(const Aws::Utils::DateTime &value)
void SetArn(Aws::String &&value)
Definition ReportGroup.h:56
ReportGroup & WithCreated(Aws::Utils::DateTime &&value)
ReportGroup & WithStatus(const ReportGroupStatusType &value)
void SetName(const char *value)
Definition ReportGroup.h:71
ReportGroup & AddTags(Tag &&value)
const Aws::String & GetName() const
Definition ReportGroup.h:67
void SetType(const ReportType &value)
Definition ReportGroup.h:86
ReportGroup & WithName(const char *value)
Definition ReportGroup.h:74
const ReportGroupStatusType & GetStatus() const
ReportGroup & WithStatus(ReportGroupStatusType &&value)
void SetType(ReportType &&value)
Definition ReportGroup.h:87
ReportGroup & WithName(Aws::String &&value)
Definition ReportGroup.h:73
const Aws::String & GetArn() const
Definition ReportGroup.h:53
void SetName(Aws::String &&value)
Definition ReportGroup.h:70
void SetArn(const Aws::String &value)
Definition ReportGroup.h:55
void SetStatus(const ReportGroupStatusType &value)
ReportGroup & WithTags(const Aws::Vector< Tag > &value)
void SetTags(Aws::Vector< Tag > &&value)
void SetLastModified(Aws::Utils::DateTime &&value)
ReportGroup & WithType(const ReportType &value)
Definition ReportGroup.h:88
void SetExportConfig(const ReportExportConfig &value)
Definition ReportGroup.h:99
AWS_CODEBUILD_API ReportGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCreated(Aws::Utils::DateTime &&value)
ReportGroup & WithArn(const char *value)
Definition ReportGroup.h:60
ReportGroup & WithName(const Aws::String &value)
Definition ReportGroup.h:72
ReportGroup & WithLastModified(Aws::Utils::DateTime &&value)
const Aws::Vector< Tag > & GetTags() const
void SetCreated(const Aws::Utils::DateTime &value)
ReportGroup & WithExportConfig(ReportExportConfig &&value)
void SetExportConfig(ReportExportConfig &&value)
ReportGroup & WithExportConfig(const ReportExportConfig &value)
AWS_CODEBUILD_API ReportGroup(Aws::Utils::Json::JsonView jsonValue)
ReportGroup & AddTags(const Tag &value)
const Aws::Utils::DateTime & GetLastModified() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue