AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Group.h
1
6#pragma once
7#include <aws/xray/XRay_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/xray/model/InsightsConfiguration.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace XRay
23{
24namespace Model
25{
26
32 class Group
33 {
34 public:
35 AWS_XRAY_API Group();
36 AWS_XRAY_API Group(Aws::Utils::Json::JsonView jsonValue);
37 AWS_XRAY_API Group& operator=(Aws::Utils::Json::JsonView jsonValue);
39
40
42
45 inline const Aws::String& GetGroupName() const{ return m_groupName; }
46 inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; }
47 inline void SetGroupName(const Aws::String& value) { m_groupNameHasBeenSet = true; m_groupName = value; }
48 inline void SetGroupName(Aws::String&& value) { m_groupNameHasBeenSet = true; m_groupName = std::move(value); }
49 inline void SetGroupName(const char* value) { m_groupNameHasBeenSet = true; m_groupName.assign(value); }
50 inline Group& WithGroupName(const Aws::String& value) { SetGroupName(value); return *this;}
51 inline Group& WithGroupName(Aws::String&& value) { SetGroupName(std::move(value)); return *this;}
52 inline Group& WithGroupName(const char* value) { SetGroupName(value); return *this;}
54
56
60 inline const Aws::String& GetGroupARN() const{ return m_groupARN; }
61 inline bool GroupARNHasBeenSet() const { return m_groupARNHasBeenSet; }
62 inline void SetGroupARN(const Aws::String& value) { m_groupARNHasBeenSet = true; m_groupARN = value; }
63 inline void SetGroupARN(Aws::String&& value) { m_groupARNHasBeenSet = true; m_groupARN = std::move(value); }
64 inline void SetGroupARN(const char* value) { m_groupARNHasBeenSet = true; m_groupARN.assign(value); }
65 inline Group& WithGroupARN(const Aws::String& value) { SetGroupARN(value); return *this;}
66 inline Group& WithGroupARN(Aws::String&& value) { SetGroupARN(std::move(value)); return *this;}
67 inline Group& WithGroupARN(const char* value) { SetGroupARN(value); return *this;}
69
71
74 inline const Aws::String& GetFilterExpression() const{ return m_filterExpression; }
75 inline bool FilterExpressionHasBeenSet() const { return m_filterExpressionHasBeenSet; }
76 inline void SetFilterExpression(const Aws::String& value) { m_filterExpressionHasBeenSet = true; m_filterExpression = value; }
77 inline void SetFilterExpression(Aws::String&& value) { m_filterExpressionHasBeenSet = true; m_filterExpression = std::move(value); }
78 inline void SetFilterExpression(const char* value) { m_filterExpressionHasBeenSet = true; m_filterExpression.assign(value); }
79 inline Group& WithFilterExpression(const Aws::String& value) { SetFilterExpression(value); return *this;}
80 inline Group& WithFilterExpression(Aws::String&& value) { SetFilterExpression(std::move(value)); return *this;}
81 inline Group& WithFilterExpression(const char* value) { SetFilterExpression(value); return *this;}
83
85
92 inline const InsightsConfiguration& GetInsightsConfiguration() const{ return m_insightsConfiguration; }
93 inline bool InsightsConfigurationHasBeenSet() const { return m_insightsConfigurationHasBeenSet; }
94 inline void SetInsightsConfiguration(const InsightsConfiguration& value) { m_insightsConfigurationHasBeenSet = true; m_insightsConfiguration = value; }
95 inline void SetInsightsConfiguration(InsightsConfiguration&& value) { m_insightsConfigurationHasBeenSet = true; m_insightsConfiguration = std::move(value); }
97 inline Group& WithInsightsConfiguration(InsightsConfiguration&& value) { SetInsightsConfiguration(std::move(value)); return *this;}
99 private:
100
101 Aws::String m_groupName;
102 bool m_groupNameHasBeenSet = false;
103
104 Aws::String m_groupARN;
105 bool m_groupARNHasBeenSet = false;
106
107 Aws::String m_filterExpression;
108 bool m_filterExpressionHasBeenSet = false;
109
110 InsightsConfiguration m_insightsConfiguration;
111 bool m_insightsConfigurationHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace XRay
116} // namespace Aws
Group & WithInsightsConfiguration(const InsightsConfiguration &value)
Definition Group.h:96
Group & WithGroupName(const Aws::String &value)
Definition Group.h:50
void SetGroupName(Aws::String &&value)
Definition Group.h:48
const Aws::String & GetGroupARN() const
Definition Group.h:60
Group & WithGroupARN(const char *value)
Definition Group.h:67
Group & WithGroupName(Aws::String &&value)
Definition Group.h:51
Group & WithFilterExpression(Aws::String &&value)
Definition Group.h:80
void SetGroupARN(const Aws::String &value)
Definition Group.h:62
Group & WithGroupARN(Aws::String &&value)
Definition Group.h:66
void SetInsightsConfiguration(InsightsConfiguration &&value)
Definition Group.h:95
Group & WithFilterExpression(const Aws::String &value)
Definition Group.h:79
Group & WithGroupName(const char *value)
Definition Group.h:52
AWS_XRAY_API Group & operator=(Aws::Utils::Json::JsonView jsonValue)
bool GroupARNHasBeenSet() const
Definition Group.h:61
void SetGroupARN(const char *value)
Definition Group.h:64
Group & WithFilterExpression(const char *value)
Definition Group.h:81
bool FilterExpressionHasBeenSet() const
Definition Group.h:75
bool InsightsConfigurationHasBeenSet() const
Definition Group.h:93
bool GroupNameHasBeenSet() const
Definition Group.h:46
void SetGroupName(const Aws::String &value)
Definition Group.h:47
void SetFilterExpression(Aws::String &&value)
Definition Group.h:77
AWS_XRAY_API Group()
void SetFilterExpression(const Aws::String &value)
Definition Group.h:76
void SetGroupARN(Aws::String &&value)
Definition Group.h:63
Group & WithGroupARN(const Aws::String &value)
Definition Group.h:65
const Aws::String & GetFilterExpression() const
Definition Group.h:74
const InsightsConfiguration & GetInsightsConfiguration() const
Definition Group.h:92
Group & WithInsightsConfiguration(InsightsConfiguration &&value)
Definition Group.h:97
void SetFilterExpression(const char *value)
Definition Group.h:78
AWS_XRAY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetGroupName(const char *value)
Definition Group.h:49
AWS_XRAY_API Group(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetGroupName() const
Definition Group.h:45
void SetInsightsConfiguration(const InsightsConfiguration &value)
Definition Group.h:94
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue