AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeTrafficSourcesRequest.h
1
6#pragma once
7#include <aws/autoscaling/AutoScaling_EXPORTS.h>
8#include <aws/autoscaling/AutoScalingRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace AutoScaling
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_AUTOSCALING_API DescribeTrafficSourcesRequest();
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DescribeTrafficSources"; }
31
32 AWS_AUTOSCALING_API Aws::String SerializePayload() const override;
33
34 protected:
35 AWS_AUTOSCALING_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36
37 public:
38
40
43 inline const Aws::String& GetAutoScalingGroupName() const{ return m_autoScalingGroupName; }
44 inline bool AutoScalingGroupNameHasBeenSet() const { return m_autoScalingGroupNameHasBeenSet; }
45 inline void SetAutoScalingGroupName(const Aws::String& value) { m_autoScalingGroupNameHasBeenSet = true; m_autoScalingGroupName = value; }
46 inline void SetAutoScalingGroupName(Aws::String&& value) { m_autoScalingGroupNameHasBeenSet = true; m_autoScalingGroupName = std::move(value); }
47 inline void SetAutoScalingGroupName(const char* value) { m_autoScalingGroupNameHasBeenSet = true; m_autoScalingGroupName.assign(value); }
50 inline DescribeTrafficSourcesRequest& WithAutoScalingGroupName(const char* value) { SetAutoScalingGroupName(value); return *this;}
52
54
62 inline const Aws::String& GetTrafficSourceType() const{ return m_trafficSourceType; }
63 inline bool TrafficSourceTypeHasBeenSet() const { return m_trafficSourceTypeHasBeenSet; }
64 inline void SetTrafficSourceType(const Aws::String& value) { m_trafficSourceTypeHasBeenSet = true; m_trafficSourceType = value; }
65 inline void SetTrafficSourceType(Aws::String&& value) { m_trafficSourceTypeHasBeenSet = true; m_trafficSourceType = std::move(value); }
66 inline void SetTrafficSourceType(const char* value) { m_trafficSourceTypeHasBeenSet = true; m_trafficSourceType.assign(value); }
68 inline DescribeTrafficSourcesRequest& WithTrafficSourceType(Aws::String&& value) { SetTrafficSourceType(std::move(value)); return *this;}
69 inline DescribeTrafficSourcesRequest& WithTrafficSourceType(const char* value) { SetTrafficSourceType(value); return *this;}
71
73
77 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
78 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
79 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
80 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
81 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
82 inline DescribeTrafficSourcesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
83 inline DescribeTrafficSourcesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
84 inline DescribeTrafficSourcesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
86
88
92 inline int GetMaxRecords() const{ return m_maxRecords; }
93 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
94 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
95 inline DescribeTrafficSourcesRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
97 private:
98
99 Aws::String m_autoScalingGroupName;
100 bool m_autoScalingGroupNameHasBeenSet = false;
101
102 Aws::String m_trafficSourceType;
103 bool m_trafficSourceTypeHasBeenSet = false;
104
105 Aws::String m_nextToken;
106 bool m_nextTokenHasBeenSet = false;
107
108 int m_maxRecords;
109 bool m_maxRecordsHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace AutoScaling
114} // namespace Aws
DescribeTrafficSourcesRequest & WithTrafficSourceType(const char *value)
DescribeTrafficSourcesRequest & WithNextToken(const Aws::String &value)
DescribeTrafficSourcesRequest & WithNextToken(Aws::String &&value)
DescribeTrafficSourcesRequest & WithTrafficSourceType(Aws::String &&value)
DescribeTrafficSourcesRequest & WithAutoScalingGroupName(Aws::String &&value)
AWS_AUTOSCALING_API Aws::String SerializePayload() const override
DescribeTrafficSourcesRequest & WithNextToken(const char *value)
DescribeTrafficSourcesRequest & WithTrafficSourceType(const Aws::String &value)
DescribeTrafficSourcesRequest & WithAutoScalingGroupName(const char *value)
DescribeTrafficSourcesRequest & WithAutoScalingGroupName(const Aws::String &value)
AWS_AUTOSCALING_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String