AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListCampaignsRequest.h
1
6#pragma once
7#include <aws/iotfleetwise/IoTFleetWise_EXPORTS.h>
8#include <aws/iotfleetwise/IoTFleetWiseRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace IoTFleetWise
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_IOTFLEETWISE_API ListCampaignsRequest();
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 "ListCampaigns"; }
31
32 AWS_IOTFLEETWISE_API Aws::String SerializePayload() const override;
33
34 AWS_IOTFLEETWISE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
35
36
38
46 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
47 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
48 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
49 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
50 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
51 inline ListCampaignsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
52 inline ListCampaignsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
53 inline ListCampaignsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
55
57
60 inline int GetMaxResults() const{ return m_maxResults; }
61 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
62 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
63 inline ListCampaignsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
65
67
73 inline const Aws::String& GetStatus() const{ return m_status; }
74 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
75 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
76 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
77 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
78 inline ListCampaignsRequest& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
79 inline ListCampaignsRequest& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
80 inline ListCampaignsRequest& WithStatus(const char* value) { SetStatus(value); return *this;}
82 private:
83
84 Aws::String m_nextToken;
85 bool m_nextTokenHasBeenSet = false;
86
87 int m_maxResults;
88 bool m_maxResultsHasBeenSet = false;
89
90 Aws::String m_status;
91 bool m_statusHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace IoTFleetWise
96} // namespace Aws
ListCampaignsRequest & WithStatus(const Aws::String &value)
AWS_IOTFLEETWISE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListCampaignsRequest & WithNextToken(const char *value)
ListCampaignsRequest & WithStatus(Aws::String &&value)
ListCampaignsRequest & WithNextToken(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
ListCampaignsRequest & WithNextToken(const Aws::String &value)
ListCampaignsRequest & WithStatus(const char *value)
AWS_IOTFLEETWISE_API Aws::String SerializePayload() const override
ListCampaignsRequest & WithMaxResults(int value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String