AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateGroupRequest.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 <utility>
12
13namespace Aws
14{
15namespace XRay
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_XRAY_API UpdateGroupRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateGroup"; }
32
33 AWS_XRAY_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetGroupName() const { return m_groupName; }
41 inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; }
42 template<typename GroupNameT = Aws::String>
43 void SetGroupName(GroupNameT&& value) { m_groupNameHasBeenSet = true; m_groupName = std::forward<GroupNameT>(value); }
44 template<typename GroupNameT = Aws::String>
45 UpdateGroupRequest& WithGroupName(GroupNameT&& value) { SetGroupName(std::forward<GroupNameT>(value)); return *this;}
47
49
52 inline const Aws::String& GetGroupARN() const { return m_groupARN; }
53 inline bool GroupARNHasBeenSet() const { return m_groupARNHasBeenSet; }
54 template<typename GroupARNT = Aws::String>
55 void SetGroupARN(GroupARNT&& value) { m_groupARNHasBeenSet = true; m_groupARN = std::forward<GroupARNT>(value); }
56 template<typename GroupARNT = Aws::String>
57 UpdateGroupRequest& WithGroupARN(GroupARNT&& value) { SetGroupARN(std::forward<GroupARNT>(value)); return *this;}
59
61
64 inline const Aws::String& GetFilterExpression() const { return m_filterExpression; }
65 inline bool FilterExpressionHasBeenSet() const { return m_filterExpressionHasBeenSet; }
66 template<typename FilterExpressionT = Aws::String>
67 void SetFilterExpression(FilterExpressionT&& value) { m_filterExpressionHasBeenSet = true; m_filterExpression = std::forward<FilterExpressionT>(value); }
68 template<typename FilterExpressionT = Aws::String>
69 UpdateGroupRequest& WithFilterExpression(FilterExpressionT&& value) { SetFilterExpression(std::forward<FilterExpressionT>(value)); return *this;}
71
73
81 inline const InsightsConfiguration& GetInsightsConfiguration() const { return m_insightsConfiguration; }
82 inline bool InsightsConfigurationHasBeenSet() const { return m_insightsConfigurationHasBeenSet; }
83 template<typename InsightsConfigurationT = InsightsConfiguration>
84 void SetInsightsConfiguration(InsightsConfigurationT&& value) { m_insightsConfigurationHasBeenSet = true; m_insightsConfiguration = std::forward<InsightsConfigurationT>(value); }
85 template<typename InsightsConfigurationT = InsightsConfiguration>
86 UpdateGroupRequest& WithInsightsConfiguration(InsightsConfigurationT&& value) { SetInsightsConfiguration(std::forward<InsightsConfigurationT>(value)); return *this;}
88 private:
89
90 Aws::String m_groupName;
91 bool m_groupNameHasBeenSet = false;
92
93 Aws::String m_groupARN;
94 bool m_groupARNHasBeenSet = false;
95
96 Aws::String m_filterExpression;
97 bool m_filterExpressionHasBeenSet = false;
98
99 InsightsConfiguration m_insightsConfiguration;
100 bool m_insightsConfigurationHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace XRay
105} // 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