AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
61 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
62 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
63 inline ListSegmentReferencesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
64 inline ListSegmentReferencesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
65 inline ListSegmentReferencesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
67
69
72 inline const Aws::String& GetSegment() const{ return m_segment; }
73 inline bool SegmentHasBeenSet() const { return m_segmentHasBeenSet; }
74 inline void SetSegment(const Aws::String& value) { m_segmentHasBeenSet = true; m_segment = value; }
75 inline void SetSegment(Aws::String&& value) { m_segmentHasBeenSet = true; m_segment = std::move(value); }
76 inline void SetSegment(const char* value) { m_segmentHasBeenSet = true; m_segment.assign(value); }
77 inline ListSegmentReferencesRequest& WithSegment(const Aws::String& value) { SetSegment(value); return *this;}
78 inline ListSegmentReferencesRequest& WithSegment(Aws::String&& value) { SetSegment(std::move(value)); return *this;}
79 inline ListSegmentReferencesRequest& WithSegment(const char* value) { SetSegment(value); return *this;}
81
83
87 inline const SegmentReferenceResourceType& GetType() const{ return m_type; }
88 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
89 inline void SetType(const SegmentReferenceResourceType& value) { m_typeHasBeenSet = true; m_type = value; }
90 inline void SetType(SegmentReferenceResourceType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
91 inline ListSegmentReferencesRequest& WithType(const SegmentReferenceResourceType& value) { SetType(value); return *this;}
92 inline ListSegmentReferencesRequest& WithType(SegmentReferenceResourceType&& value) { SetType(std::move(value)); return *this;}
94 private:
95
96 int m_maxResults;
97 bool m_maxResultsHasBeenSet = false;
98
99 Aws::String m_nextToken;
100 bool m_nextTokenHasBeenSet = false;
101
102 Aws::String m_segment;
103 bool m_segmentHasBeenSet = false;
104
106 bool m_typeHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace CloudWatchEvidently
111} // namespace Aws
AWS_CLOUDWATCHEVIDENTLY_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListSegmentReferencesRequest & WithSegment(Aws::String &&value)
AWS_CLOUDWATCHEVIDENTLY_API Aws::String SerializePayload() const override
ListSegmentReferencesRequest & WithSegment(const Aws::String &value)
ListSegmentReferencesRequest & WithNextToken(const char *value)
ListSegmentReferencesRequest & WithNextToken(Aws::String &&value)
ListSegmentReferencesRequest & WithSegment(const char *value)
ListSegmentReferencesRequest & WithType(SegmentReferenceResourceType &&value)
ListSegmentReferencesRequest & WithNextToken(const Aws::String &value)
ListSegmentReferencesRequest & WithType(const SegmentReferenceResourceType &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String