AWS SDK for C++

AWS SDK for C++ Version 1.11.807

Loading...
Searching...
No Matches
StartTelemetryEvaluationRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/observabilityadmin/ObservabilityAdminRequest.h>
10#include <aws/observabilityadmin/ObservabilityAdmin_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace ObservabilityAdmin {
16namespace Model {
17
21 public:
22 AWS_OBSERVABILITYADMIN_API StartTelemetryEvaluationRequest() = 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 "StartTelemetryEvaluation"; }
29
30 AWS_OBSERVABILITYADMIN_API Aws::String SerializePayload() const override;
31
33
42 inline const Aws::Vector<Aws::String>& GetRegions() const { return m_regions; }
43 inline bool RegionsHasBeenSet() const { return m_regionsHasBeenSet; }
44 template <typename RegionsT = Aws::Vector<Aws::String>>
45 void SetRegions(RegionsT&& value) {
46 m_regionsHasBeenSet = true;
47 m_regions = std::forward<RegionsT>(value);
48 }
49 template <typename RegionsT = Aws::Vector<Aws::String>>
51 SetRegions(std::forward<RegionsT>(value));
52 return *this;
53 }
54 template <typename RegionsT = Aws::String>
56 m_regionsHasBeenSet = true;
57 m_regions.emplace_back(std::forward<RegionsT>(value));
58 return *this;
59 }
61
63
71 inline bool GetAllRegions() const { return m_allRegions; }
72 inline bool AllRegionsHasBeenSet() const { return m_allRegionsHasBeenSet; }
73 inline void SetAllRegions(bool value) {
74 m_allRegionsHasBeenSet = true;
75 m_allRegions = value;
76 }
78 SetAllRegions(value);
79 return *this;
80 }
82 private:
84
85 bool m_allRegions{false};
86 bool m_regionsHasBeenSet = false;
87 bool m_allRegionsHasBeenSet = false;
88};
89
90} // namespace Model
91} // namespace ObservabilityAdmin
92} // namespace Aws
AWS_OBSERVABILITYADMIN_API StartTelemetryEvaluationRequest()=default
AWS_OBSERVABILITYADMIN_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector