AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ListSegmentReferencesRequest.h
1
6#pragma once
7#include <aws/evidently/CloudWatchEvidently_EXPORTS.h>
8#include <aws/evidently/CloudWatchEvidentlyRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/evidently/model/SegmentReferenceResourceType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace CloudWatchEvidently
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_CLOUDWATCHEVIDENTLY_API ListSegmentReferencesRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "ListSegmentReferences"; }
36
37 AWS_CLOUDWATCHEVIDENTLY_API Aws::String SerializePayload() const override;
38
39 AWS_CLOUDWATCHEVIDENTLY_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
47 inline int GetMaxResults() const { return m_maxResults; }
48 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
49 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
50 inline ListSegmentReferencesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
52
54
58 inline const Aws::String& GetNextToken() const { return m_nextToken; }
59 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
60 template<typename NextTokenT = Aws::String>
61 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
62 template<typename NextTokenT = Aws::String>
63 ListSegmentReferencesRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
65
67
70 inline const Aws::String& GetSegment() const { return m_segment; }
71 inline bool SegmentHasBeenSet() const { return m_segmentHasBeenSet; }
72 template<typename SegmentT = Aws::String>
73 void SetSegment(SegmentT&& value) { m_segmentHasBeenSet = true; m_segment = std::forward<SegmentT>(value); }
74 template<typename SegmentT = Aws::String>
75 ListSegmentReferencesRequest& WithSegment(SegmentT&& value) { SetSegment(std::forward<SegmentT>(value)); return *this;}
77
79
83 inline SegmentReferenceResourceType GetType() const { return m_type; }
84 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
85 inline void SetType(SegmentReferenceResourceType value) { m_typeHasBeenSet = true; m_type = value; }
88 private:
89
90 int m_maxResults{0};
91 bool m_maxResultsHasBeenSet = false;
92
93 Aws::String m_nextToken;
94 bool m_nextTokenHasBeenSet = false;
95
96 Aws::String m_segment;
97 bool m_segmentHasBeenSet = false;
98
100 bool m_typeHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace CloudWatchEvidently
105} // namespace Aws
AWS_CLOUDWATCHEVIDENTLY_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListSegmentReferencesRequest & WithNextToken(NextTokenT &&value)
AWS_CLOUDWATCHEVIDENTLY_API Aws::String SerializePayload() const override
ListSegmentReferencesRequest & WithType(SegmentReferenceResourceType value)
AWS_CLOUDWATCHEVIDENTLY_API ListSegmentReferencesRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String