AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
UpdateReportGroupRequest.h
1
6#pragma once
7#include <aws/codebuild/CodeBuild_EXPORTS.h>
8#include <aws/codebuild/CodeBuildRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/codebuild/model/ReportExportConfig.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/codebuild/model/Tag.h>
13#include <utility>
14
15namespace Aws
16{
17namespace CodeBuild
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_CODEBUILD_API UpdateReportGroupRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "UpdateReportGroup"; }
34
35 AWS_CODEBUILD_API Aws::String SerializePayload() const override;
36
38
39
41
44 inline const Aws::String& GetArn() const { return m_arn; }
45 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
46 template<typename ArnT = Aws::String>
47 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
48 template<typename ArnT = Aws::String>
49 UpdateReportGroupRequest& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
51
53
59 inline const ReportExportConfig& GetExportConfig() const { return m_exportConfig; }
60 inline bool ExportConfigHasBeenSet() const { return m_exportConfigHasBeenSet; }
61 template<typename ExportConfigT = ReportExportConfig>
62 void SetExportConfig(ExportConfigT&& value) { m_exportConfigHasBeenSet = true; m_exportConfig = std::forward<ExportConfigT>(value); }
63 template<typename ExportConfigT = ReportExportConfig>
64 UpdateReportGroupRequest& WithExportConfig(ExportConfigT&& value) { SetExportConfig(std::forward<ExportConfigT>(value)); return *this;}
66
68
73 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
74 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
75 template<typename TagsT = Aws::Vector<Tag>>
76 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
77 template<typename TagsT = Aws::Vector<Tag>>
78 UpdateReportGroupRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
79 template<typename TagsT = Tag>
80 UpdateReportGroupRequest& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
82 private:
83
84 Aws::String m_arn;
85 bool m_arnHasBeenSet = false;
86
87 ReportExportConfig m_exportConfig;
88 bool m_exportConfigHasBeenSet = false;
89
90 Aws::Vector<Tag> m_tags;
91 bool m_tagsHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace CodeBuild
96} // 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