AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
UpdateGroupRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/xray/XRayRequest.h>
9#include <aws/xray/XRay_EXPORTS.h>
10#include <aws/xray/model/InsightsConfiguration.h>
11
12#include <utility>
13
14namespace Aws {
15namespace XRay {
16namespace Model {
17
21 public:
22 AWS_XRAY_API UpdateGroupRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateGroup"; }
29
30 AWS_XRAY_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetGroupName() const { return m_groupName; }
37 inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; }
38 template <typename GroupNameT = Aws::String>
39 void SetGroupName(GroupNameT&& value) {
40 m_groupNameHasBeenSet = true;
41 m_groupName = std::forward<GroupNameT>(value);
42 }
43 template <typename GroupNameT = Aws::String>
44 UpdateGroupRequest& WithGroupName(GroupNameT&& value) {
45 SetGroupName(std::forward<GroupNameT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetGroupARN() const { return m_groupARN; }
55 inline bool GroupARNHasBeenSet() const { return m_groupARNHasBeenSet; }
56 template <typename GroupARNT = Aws::String>
57 void SetGroupARN(GroupARNT&& value) {
58 m_groupARNHasBeenSet = true;
59 m_groupARN = std::forward<GroupARNT>(value);
60 }
61 template <typename GroupARNT = Aws::String>
62 UpdateGroupRequest& WithGroupARN(GroupARNT&& value) {
63 SetGroupARN(std::forward<GroupARNT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::String& GetFilterExpression() const { return m_filterExpression; }
73 inline bool FilterExpressionHasBeenSet() const { return m_filterExpressionHasBeenSet; }
74 template <typename FilterExpressionT = Aws::String>
75 void SetFilterExpression(FilterExpressionT&& value) {
76 m_filterExpressionHasBeenSet = true;
77 m_filterExpression = std::forward<FilterExpressionT>(value);
78 }
79 template <typename FilterExpressionT = Aws::String>
80 UpdateGroupRequest& WithFilterExpression(FilterExpressionT&& value) {
81 SetFilterExpression(std::forward<FilterExpressionT>(value));
82 return *this;
83 }
85
87
95 inline const InsightsConfiguration& GetInsightsConfiguration() const { return m_insightsConfiguration; }
96 inline bool InsightsConfigurationHasBeenSet() const { return m_insightsConfigurationHasBeenSet; }
97 template <typename InsightsConfigurationT = InsightsConfiguration>
98 void SetInsightsConfiguration(InsightsConfigurationT&& value) {
99 m_insightsConfigurationHasBeenSet = true;
100 m_insightsConfiguration = std::forward<InsightsConfigurationT>(value);
101 }
102 template <typename InsightsConfigurationT = InsightsConfiguration>
103 UpdateGroupRequest& WithInsightsConfiguration(InsightsConfigurationT&& value) {
104 SetInsightsConfiguration(std::forward<InsightsConfigurationT>(value));
105 return *this;
106 }
108 private:
109 Aws::String m_groupName;
110
111 Aws::String m_groupARN;
112
113 Aws::String m_filterExpression;
114
115 InsightsConfiguration m_insightsConfiguration;
116 bool m_groupNameHasBeenSet = false;
117 bool m_groupARNHasBeenSet = false;
118 bool m_filterExpressionHasBeenSet = false;
119 bool m_insightsConfigurationHasBeenSet = false;
120};
121
122} // namespace Model
123} // namespace XRay
124} // namespace Aws
void SetFilterExpression(FilterExpressionT &&value)
virtual const char * GetServiceRequestName() const override
AWS_XRAY_API Aws::String SerializePayload() const override
const Aws::String & GetFilterExpression() const
AWS_XRAY_API UpdateGroupRequest()=default
UpdateGroupRequest & WithFilterExpression(FilterExpressionT &&value)
const InsightsConfiguration & GetInsightsConfiguration() const
UpdateGroupRequest & WithInsightsConfiguration(InsightsConfigurationT &&value)
UpdateGroupRequest & WithGroupARN(GroupARNT &&value)
const Aws::String & GetGroupARN() const
void SetInsightsConfiguration(InsightsConfigurationT &&value)
const Aws::String & GetGroupName() const
UpdateGroupRequest & WithGroupName(GroupNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String