AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
GroupSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/xray/XRay_EXPORTS.h>
9#include <aws/xray/model/InsightsConfiguration.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace XRay {
21namespace Model {
22
29 public:
30 AWS_XRAY_API GroupSummary() = default;
34
36
39 inline const Aws::String& GetGroupName() const { return m_groupName; }
40 inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; }
41 template <typename GroupNameT = Aws::String>
42 void SetGroupName(GroupNameT&& value) {
43 m_groupNameHasBeenSet = true;
44 m_groupName = std::forward<GroupNameT>(value);
45 }
46 template <typename GroupNameT = Aws::String>
47 GroupSummary& WithGroupName(GroupNameT&& value) {
48 SetGroupName(std::forward<GroupNameT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetGroupARN() const { return m_groupARN; }
58 inline bool GroupARNHasBeenSet() const { return m_groupARNHasBeenSet; }
59 template <typename GroupARNT = Aws::String>
60 void SetGroupARN(GroupARNT&& value) {
61 m_groupARNHasBeenSet = true;
62 m_groupARN = std::forward<GroupARNT>(value);
63 }
64 template <typename GroupARNT = Aws::String>
65 GroupSummary& WithGroupARN(GroupARNT&& value) {
66 SetGroupARN(std::forward<GroupARNT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetFilterExpression() const { return m_filterExpression; }
76 inline bool FilterExpressionHasBeenSet() const { return m_filterExpressionHasBeenSet; }
77 template <typename FilterExpressionT = Aws::String>
78 void SetFilterExpression(FilterExpressionT&& value) {
79 m_filterExpressionHasBeenSet = true;
80 m_filterExpression = std::forward<FilterExpressionT>(value);
81 }
82 template <typename FilterExpressionT = Aws::String>
83 GroupSummary& WithFilterExpression(FilterExpressionT&& value) {
84 SetFilterExpression(std::forward<FilterExpressionT>(value));
85 return *this;
86 }
88
90
98 inline const InsightsConfiguration& GetInsightsConfiguration() const { return m_insightsConfiguration; }
99 inline bool InsightsConfigurationHasBeenSet() const { return m_insightsConfigurationHasBeenSet; }
100 template <typename InsightsConfigurationT = InsightsConfiguration>
101 void SetInsightsConfiguration(InsightsConfigurationT&& value) {
102 m_insightsConfigurationHasBeenSet = true;
103 m_insightsConfiguration = std::forward<InsightsConfigurationT>(value);
104 }
105 template <typename InsightsConfigurationT = InsightsConfiguration>
106 GroupSummary& WithInsightsConfiguration(InsightsConfigurationT&& value) {
107 SetInsightsConfiguration(std::forward<InsightsConfigurationT>(value));
108 return *this;
109 }
111 private:
112 Aws::String m_groupName;
113
114 Aws::String m_groupARN;
115
116 Aws::String m_filterExpression;
117
118 InsightsConfiguration m_insightsConfiguration;
119 bool m_groupNameHasBeenSet = false;
120 bool m_groupARNHasBeenSet = false;
121 bool m_filterExpressionHasBeenSet = false;
122 bool m_insightsConfigurationHasBeenSet = false;
123};
124
125} // namespace Model
126} // namespace XRay
127} // namespace Aws
GroupSummary & WithGroupARN(GroupARNT &&value)
bool FilterExpressionHasBeenSet() const
void SetGroupARN(GroupARNT &&value)
AWS_XRAY_API GroupSummary(Aws::Utils::Json::JsonView jsonValue)
bool InsightsConfigurationHasBeenSet() const
AWS_XRAY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_XRAY_API GroupSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_XRAY_API GroupSummary()=default
void SetFilterExpression(FilterExpressionT &&value)
const Aws::String & GetGroupARN() const
void SetInsightsConfiguration(InsightsConfigurationT &&value)
void SetGroupName(GroupNameT &&value)
const InsightsConfiguration & GetInsightsConfiguration() const
const Aws::String & GetGroupName() const
GroupSummary & WithInsightsConfiguration(InsightsConfigurationT &&value)
const Aws::String & GetFilterExpression() const
GroupSummary & WithGroupName(GroupNameT &&value)
GroupSummary & WithFilterExpression(FilterExpressionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue