AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetGroupName(const Aws::String& value) { m_groupNameHasBeenSet = true; m_groupName = value; }
43 inline void SetGroupName(Aws::String&& value) { m_groupNameHasBeenSet = true; m_groupName = std::move(value); }
44 inline void SetGroupName(const char* value) { m_groupNameHasBeenSet = true; m_groupName.assign(value); }
45 inline UpdateGroupRequest& WithGroupName(const Aws::String& value) { SetGroupName(value); return *this;}
46 inline UpdateGroupRequest& WithGroupName(Aws::String&& value) { SetGroupName(std::move(value)); return *this;}
47 inline UpdateGroupRequest& WithGroupName(const char* value) { SetGroupName(value); return *this;}
49
51
54 inline const Aws::String& GetGroupARN() const{ return m_groupARN; }
55 inline bool GroupARNHasBeenSet() const { return m_groupARNHasBeenSet; }
56 inline void SetGroupARN(const Aws::String& value) { m_groupARNHasBeenSet = true; m_groupARN = value; }
57 inline void SetGroupARN(Aws::String&& value) { m_groupARNHasBeenSet = true; m_groupARN = std::move(value); }
58 inline void SetGroupARN(const char* value) { m_groupARNHasBeenSet = true; m_groupARN.assign(value); }
59 inline UpdateGroupRequest& WithGroupARN(const Aws::String& value) { SetGroupARN(value); return *this;}
60 inline UpdateGroupRequest& WithGroupARN(Aws::String&& value) { SetGroupARN(std::move(value)); return *this;}
61 inline UpdateGroupRequest& WithGroupARN(const char* value) { SetGroupARN(value); return *this;}
63
65
68 inline const Aws::String& GetFilterExpression() const{ return m_filterExpression; }
69 inline bool FilterExpressionHasBeenSet() const { return m_filterExpressionHasBeenSet; }
70 inline void SetFilterExpression(const Aws::String& value) { m_filterExpressionHasBeenSet = true; m_filterExpression = value; }
71 inline void SetFilterExpression(Aws::String&& value) { m_filterExpressionHasBeenSet = true; m_filterExpression = std::move(value); }
72 inline void SetFilterExpression(const char* value) { m_filterExpressionHasBeenSet = true; m_filterExpression.assign(value); }
73 inline UpdateGroupRequest& WithFilterExpression(const Aws::String& value) { SetFilterExpression(value); return *this;}
74 inline UpdateGroupRequest& WithFilterExpression(Aws::String&& value) { SetFilterExpression(std::move(value)); return *this;}
75 inline UpdateGroupRequest& WithFilterExpression(const char* value) { SetFilterExpression(value); return *this;}
77
79
87 inline const InsightsConfiguration& GetInsightsConfiguration() const{ return m_insightsConfiguration; }
88 inline bool InsightsConfigurationHasBeenSet() const { return m_insightsConfigurationHasBeenSet; }
89 inline void SetInsightsConfiguration(const InsightsConfiguration& value) { m_insightsConfigurationHasBeenSet = true; m_insightsConfiguration = value; }
90 inline void SetInsightsConfiguration(InsightsConfiguration&& value) { m_insightsConfigurationHasBeenSet = true; m_insightsConfiguration = std::move(value); }
94 private:
95
96 Aws::String m_groupName;
97 bool m_groupNameHasBeenSet = false;
98
99 Aws::String m_groupARN;
100 bool m_groupARNHasBeenSet = false;
101
102 Aws::String m_filterExpression;
103 bool m_filterExpressionHasBeenSet = false;
104
105 InsightsConfiguration m_insightsConfiguration;
106 bool m_insightsConfigurationHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace XRay
111} // namespace Aws
UpdateGroupRequest & WithGroupARN(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
AWS_XRAY_API Aws::String SerializePayload() const override
void SetFilterExpression(Aws::String &&value)
UpdateGroupRequest & WithInsightsConfiguration(InsightsConfiguration &&value)
UpdateGroupRequest & WithGroupName(Aws::String &&value)
UpdateGroupRequest & WithGroupName(const Aws::String &value)
UpdateGroupRequest & WithInsightsConfiguration(const InsightsConfiguration &value)
const Aws::String & GetFilterExpression() const
void SetGroupARN(Aws::String &&value)
UpdateGroupRequest & WithFilterExpression(const char *value)
UpdateGroupRequest & WithGroupARN(Aws::String &&value)
void SetGroupARN(const Aws::String &value)
const InsightsConfiguration & GetInsightsConfiguration() const
UpdateGroupRequest & WithFilterExpression(const Aws::String &value)
UpdateGroupRequest & WithGroupARN(const char *value)
UpdateGroupRequest & WithFilterExpression(Aws::String &&value)
void SetGroupName(const Aws::String &value)
UpdateGroupRequest & WithGroupName(const char *value)
void SetGroupName(Aws::String &&value)
void SetInsightsConfiguration(InsightsConfiguration &&value)
void SetFilterExpression(const Aws::String &value)
void SetFilterExpression(const char *value)
const Aws::String & GetGroupARN() const
const Aws::String & GetGroupName() const
void SetInsightsConfiguration(const InsightsConfiguration &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String