AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
DescribeResourceCollectionHealthRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/devops-guru/DevOpsGuruRequest.h>
9#include <aws/devops-guru/DevOpsGuru_EXPORTS.h>
10#include <aws/devops-guru/model/ResourceCollectionType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Http {
16class URI;
17} // namespace Http
18namespace DevOpsGuru {
19namespace Model {
20
24 public:
25 AWS_DEVOPSGURU_API DescribeResourceCollectionHealthRequest() = 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 "DescribeResourceCollectionHealth"; }
32
33 AWS_DEVOPSGURU_API Aws::String SerializePayload() const override;
34
35 AWS_DEVOPSGURU_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
36
38
48 inline ResourceCollectionType GetResourceCollectionType() const { return m_resourceCollectionType; }
49 inline bool ResourceCollectionTypeHasBeenSet() const { return m_resourceCollectionTypeHasBeenSet; }
51 m_resourceCollectionTypeHasBeenSet = true;
52 m_resourceCollectionType = value;
53 }
56 return *this;
57 }
59
61
65 inline const Aws::String& GetNextToken() const { return m_nextToken; }
66 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
67 template <typename NextTokenT = Aws::String>
68 void SetNextToken(NextTokenT&& value) {
69 m_nextTokenHasBeenSet = true;
70 m_nextToken = std::forward<NextTokenT>(value);
71 }
72 template <typename NextTokenT = Aws::String>
74 SetNextToken(std::forward<NextTokenT>(value));
75 return *this;
76 }
78 private:
80
81 Aws::String m_nextToken;
82 bool m_resourceCollectionTypeHasBeenSet = false;
83 bool m_nextTokenHasBeenSet = false;
84};
85
86} // namespace Model
87} // namespace DevOpsGuru
88} // namespace Aws
DescribeResourceCollectionHealthRequest & WithNextToken(NextTokenT &&value)
DescribeResourceCollectionHealthRequest & WithResourceCollectionType(ResourceCollectionType value)
AWS_DEVOPSGURU_API Aws::String SerializePayload() const override
AWS_DEVOPSGURU_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String