AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
47 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
48 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
49 inline UpdateReportGroupRequest& WithArn(const Aws::String& value) { SetArn(value); return *this;}
50 inline UpdateReportGroupRequest& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
51 inline UpdateReportGroupRequest& WithArn(const char* value) { SetArn(value); return *this;}
53
55
61 inline const ReportExportConfig& GetExportConfig() const{ return m_exportConfig; }
62 inline bool ExportConfigHasBeenSet() const { return m_exportConfigHasBeenSet; }
63 inline void SetExportConfig(const ReportExportConfig& value) { m_exportConfigHasBeenSet = true; m_exportConfig = value; }
64 inline void SetExportConfig(ReportExportConfig&& value) { m_exportConfigHasBeenSet = true; m_exportConfig = std::move(value); }
65 inline UpdateReportGroupRequest& WithExportConfig(const ReportExportConfig& value) { SetExportConfig(value); return *this;}
66 inline UpdateReportGroupRequest& WithExportConfig(ReportExportConfig&& value) { SetExportConfig(std::move(value)); return *this;}
68
70
75 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
76 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
77 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
78 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
79 inline UpdateReportGroupRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
80 inline UpdateReportGroupRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
81 inline UpdateReportGroupRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
82 inline UpdateReportGroupRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
84 private:
85
86 Aws::String m_arn;
87 bool m_arnHasBeenSet = false;
88
89 ReportExportConfig m_exportConfig;
90 bool m_exportConfigHasBeenSet = false;
91
92 Aws::Vector<Tag> m_tags;
93 bool m_tagsHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace CodeBuild
98} // namespace Aws
UpdateReportGroupRequest & AddTags(Tag &&value)
UpdateReportGroupRequest & WithExportConfig(const ReportExportConfig &value)
AWS_CODEBUILD_API Aws::String SerializePayload() const override
UpdateReportGroupRequest & WithArn(const char *value)
AWS_CODEBUILD_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateReportGroupRequest & AddTags(const Tag &value)
UpdateReportGroupRequest & WithArn(Aws::String &&value)
void SetExportConfig(const ReportExportConfig &value)
UpdateReportGroupRequest & WithTags(const Aws::Vector< Tag > &value)
UpdateReportGroupRequest & WithArn(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
UpdateReportGroupRequest & WithTags(Aws::Vector< Tag > &&value)
UpdateReportGroupRequest & WithExportConfig(ReportExportConfig &&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