AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateGroupRequest.h
1
6#pragma once
7#include <aws/xray/XRay_EXPORTS.h>
8#include <aws/xray/XRayRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/xray/model/InsightsConfiguration.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/xray/model/Tag.h>
13#include <utility>
14
15namespace Aws
16{
17namespace XRay
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_XRAY_API CreateGroupRequest();
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 "CreateGroup"; }
34
35 AWS_XRAY_API Aws::String SerializePayload() const override;
36
37
39
43 inline const Aws::String& GetGroupName() const{ return m_groupName; }
44 inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; }
45 inline void SetGroupName(const Aws::String& value) { m_groupNameHasBeenSet = true; m_groupName = value; }
46 inline void SetGroupName(Aws::String&& value) { m_groupNameHasBeenSet = true; m_groupName = std::move(value); }
47 inline void SetGroupName(const char* value) { m_groupNameHasBeenSet = true; m_groupName.assign(value); }
48 inline CreateGroupRequest& WithGroupName(const Aws::String& value) { SetGroupName(value); return *this;}
49 inline CreateGroupRequest& WithGroupName(Aws::String&& value) { SetGroupName(std::move(value)); return *this;}
50 inline CreateGroupRequest& WithGroupName(const char* value) { SetGroupName(value); return *this;}
52
54
57 inline const Aws::String& GetFilterExpression() const{ return m_filterExpression; }
58 inline bool FilterExpressionHasBeenSet() const { return m_filterExpressionHasBeenSet; }
59 inline void SetFilterExpression(const Aws::String& value) { m_filterExpressionHasBeenSet = true; m_filterExpression = value; }
60 inline void SetFilterExpression(Aws::String&& value) { m_filterExpressionHasBeenSet = true; m_filterExpression = std::move(value); }
61 inline void SetFilterExpression(const char* value) { m_filterExpressionHasBeenSet = true; m_filterExpression.assign(value); }
62 inline CreateGroupRequest& WithFilterExpression(const Aws::String& value) { SetFilterExpression(value); return *this;}
63 inline CreateGroupRequest& WithFilterExpression(Aws::String&& value) { SetFilterExpression(std::move(value)); return *this;}
64 inline CreateGroupRequest& WithFilterExpression(const char* value) { SetFilterExpression(value); return *this;}
66
68
76 inline const InsightsConfiguration& GetInsightsConfiguration() const{ return m_insightsConfiguration; }
77 inline bool InsightsConfigurationHasBeenSet() const { return m_insightsConfigurationHasBeenSet; }
78 inline void SetInsightsConfiguration(const InsightsConfiguration& value) { m_insightsConfigurationHasBeenSet = true; m_insightsConfiguration = value; }
79 inline void SetInsightsConfiguration(InsightsConfiguration&& value) { m_insightsConfigurationHasBeenSet = true; m_insightsConfiguration = std::move(value); }
83
85
99 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
100 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
101 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
102 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
103 inline CreateGroupRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
104 inline CreateGroupRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
105 inline CreateGroupRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
106 inline CreateGroupRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
108 private:
109
110 Aws::String m_groupName;
111 bool m_groupNameHasBeenSet = false;
112
113 Aws::String m_filterExpression;
114 bool m_filterExpressionHasBeenSet = false;
115
116 InsightsConfiguration m_insightsConfiguration;
117 bool m_insightsConfigurationHasBeenSet = false;
118
119 Aws::Vector<Tag> m_tags;
120 bool m_tagsHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace XRay
125} // namespace Aws
CreateGroupRequest & AddTags(const Tag &value)
const Aws::String & GetFilterExpression() const
void SetTags(const Aws::Vector< Tag > &value)
void SetInsightsConfiguration(const InsightsConfiguration &value)
void SetGroupName(const Aws::String &value)
CreateGroupRequest & WithFilterExpression(const Aws::String &value)
CreateGroupRequest & WithGroupName(Aws::String &&value)
AWS_XRAY_API Aws::String SerializePayload() const override
CreateGroupRequest & WithFilterExpression(Aws::String &&value)
void SetInsightsConfiguration(InsightsConfiguration &&value)
CreateGroupRequest & WithFilterExpression(const char *value)
const InsightsConfiguration & GetInsightsConfiguration() const
const Aws::Vector< Tag > & GetTags() const
void SetFilterExpression(const char *value)
CreateGroupRequest & WithTags(Aws::Vector< Tag > &&value)
void SetFilterExpression(const Aws::String &value)
void SetGroupName(Aws::String &&value)
void SetTags(Aws::Vector< Tag > &&value)
CreateGroupRequest & WithGroupName(const Aws::String &value)
CreateGroupRequest & WithInsightsConfiguration(const InsightsConfiguration &value)
virtual const char * GetServiceRequestName() const override
CreateGroupRequest & WithInsightsConfiguration(InsightsConfiguration &&value)
CreateGroupRequest & WithTags(const Aws::Vector< Tag > &value)
const Aws::String & GetGroupName() const
CreateGroupRequest & AddTags(Tag &&value)
void SetFilterExpression(Aws::String &&value)
CreateGroupRequest & WithGroupName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector