AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
UpdateReportGroupRequest.h
1
6#pragma once
7#include <aws/codebuild/CodeBuildRequest.h>
8#include <aws/codebuild/CodeBuild_EXPORTS.h>
9#include <aws/codebuild/model/ReportExportConfig.h>
10#include <aws/codebuild/model/Tag.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13
14#include <utility>
15
16namespace Aws {
17namespace CodeBuild {
18namespace Model {
19
23 public:
24 AWS_CODEBUILD_API UpdateReportGroupRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "UpdateReportGroup"; }
31
32 AWS_CODEBUILD_API Aws::String SerializePayload() const override;
33
35
37
40 inline const Aws::String& GetArn() const { return m_arn; }
41 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
42 template <typename ArnT = Aws::String>
43 void SetArn(ArnT&& value) {
44 m_arnHasBeenSet = true;
45 m_arn = std::forward<ArnT>(value);
46 }
47 template <typename ArnT = Aws::String>
49 SetArn(std::forward<ArnT>(value));
50 return *this;
51 }
53
55
61 inline const ReportExportConfig& GetExportConfig() const { return m_exportConfig; }
62 inline bool ExportConfigHasBeenSet() const { return m_exportConfigHasBeenSet; }
63 template <typename ExportConfigT = ReportExportConfig>
64 void SetExportConfig(ExportConfigT&& value) {
65 m_exportConfigHasBeenSet = true;
66 m_exportConfig = std::forward<ExportConfigT>(value);
67 }
68 template <typename ExportConfigT = ReportExportConfig>
70 SetExportConfig(std::forward<ExportConfigT>(value));
71 return *this;
72 }
74
76
81 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
82 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
83 template <typename TagsT = Aws::Vector<Tag>>
84 void SetTags(TagsT&& value) {
85 m_tagsHasBeenSet = true;
86 m_tags = std::forward<TagsT>(value);
87 }
88 template <typename TagsT = Aws::Vector<Tag>>
90 SetTags(std::forward<TagsT>(value));
91 return *this;
92 }
93 template <typename TagsT = Tag>
95 m_tagsHasBeenSet = true;
96 m_tags.emplace_back(std::forward<TagsT>(value));
97 return *this;
98 }
100 private:
101 Aws::String m_arn;
102 bool m_arnHasBeenSet = false;
103
104 ReportExportConfig m_exportConfig;
105 bool m_exportConfigHasBeenSet = false;
106
107 Aws::Vector<Tag> m_tags;
108 bool m_tagsHasBeenSet = false;
109};
110
111} // namespace Model
112} // namespace CodeBuild
113} // namespace Aws
AWS_CODEBUILD_API Aws::String SerializePayload() const override
UpdateReportGroupRequest & WithArn(ArnT &&value)
AWS_CODEBUILD_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateReportGroupRequest & WithTags(TagsT &&value)
AWS_CODEBUILD_API UpdateReportGroupRequest()=default
virtual const char * GetServiceRequestName() const override
UpdateReportGroupRequest & AddTags(TagsT &&value)
UpdateReportGroupRequest & WithExportConfig(ExportConfigT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector