AWS SDK for C++  1.9.71
AWS SDK for C++
ListMissionProfilesResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace GroundStation
26 {
27 namespace Model
28 {
35  {
36  public:
40 
41 
45  inline const Aws::Vector<MissionProfileListItem>& GetMissionProfileList() const{ return m_missionProfileList; }
46 
50  inline void SetMissionProfileList(const Aws::Vector<MissionProfileListItem>& value) { m_missionProfileList = value; }
51 
55  inline void SetMissionProfileList(Aws::Vector<MissionProfileListItem>&& value) { m_missionProfileList = std::move(value); }
56 
60  inline ListMissionProfilesResult& WithMissionProfileList(const Aws::Vector<MissionProfileListItem>& value) { SetMissionProfileList(value); return *this;}
61 
65  inline ListMissionProfilesResult& WithMissionProfileList(Aws::Vector<MissionProfileListItem>&& value) { SetMissionProfileList(std::move(value)); return *this;}
66 
70  inline ListMissionProfilesResult& AddMissionProfileList(const MissionProfileListItem& value) { m_missionProfileList.push_back(value); return *this; }
71 
75  inline ListMissionProfilesResult& AddMissionProfileList(MissionProfileListItem&& value) { m_missionProfileList.push_back(std::move(value)); return *this; }
76 
77 
82  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
83 
88  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
89 
94  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
95 
100  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
101 
106  inline ListMissionProfilesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
107 
112  inline ListMissionProfilesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
113 
118  inline ListMissionProfilesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
119 
120  private:
121 
122  Aws::Vector<MissionProfileListItem> m_missionProfileList;
123 
124  Aws::String m_nextToken;
125  };
126 
127 } // namespace Model
128 } // namespace GroundStation
129 } // namespace Aws
Aws::GroundStation::Model::ListMissionProfilesResult::GetMissionProfileList
const Aws::Vector< MissionProfileListItem > & GetMissionProfileList() const
Definition: ListMissionProfilesResult.h:45
Aws::GroundStation::Model::ListMissionProfilesResult::ListMissionProfilesResult
ListMissionProfilesResult()
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::GroundStation::Model::ListMissionProfilesResult::WithMissionProfileList
ListMissionProfilesResult & WithMissionProfileList(Aws::Vector< MissionProfileListItem > &&value)
Definition: ListMissionProfilesResult.h:65
Aws::GroundStation::Model::ListMissionProfilesResult::operator=
ListMissionProfilesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GroundStation::Model::ListMissionProfilesResult::SetMissionProfileList
void SetMissionProfileList(const Aws::Vector< MissionProfileListItem > &value)
Definition: ListMissionProfilesResult.h:50
Aws::GroundStation::Model::ListMissionProfilesResult::AddMissionProfileList
ListMissionProfilesResult & AddMissionProfileList(const MissionProfileListItem &value)
Definition: ListMissionProfilesResult.h:70
Aws::GroundStation::Model::ListMissionProfilesResult::AddMissionProfileList
ListMissionProfilesResult & AddMissionProfileList(MissionProfileListItem &&value)
Definition: ListMissionProfilesResult.h:75
Aws::GroundStation::Model::ListMissionProfilesResult::ListMissionProfilesResult
ListMissionProfilesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::GroundStation::Model::ListMissionProfilesResult::WithNextToken
ListMissionProfilesResult & WithNextToken(const Aws::String &value)
Definition: ListMissionProfilesResult.h:106
AWSVector.h
Aws::GroundStation::Model::ListMissionProfilesResult::WithNextToken
ListMissionProfilesResult & WithNextToken(const char *value)
Definition: ListMissionProfilesResult.h:118
GroundStation_EXPORTS.h
Aws::GroundStation::Model::ListMissionProfilesResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListMissionProfilesResult.h:88
Aws::GroundStation::Model::ListMissionProfilesResult::WithNextToken
ListMissionProfilesResult & WithNextToken(Aws::String &&value)
Definition: ListMissionProfilesResult.h:112
AWS_GROUNDSTATION_API
#define AWS_GROUNDSTATION_API
Definition: GroundStation_EXPORTS.h:28
AWSString.h
Aws::GroundStation::Model::ListMissionProfilesResult::SetMissionProfileList
void SetMissionProfileList(Aws::Vector< MissionProfileListItem > &&value)
Definition: ListMissionProfilesResult.h:55
Aws::GroundStation::Model::ListMissionProfilesResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListMissionProfilesResult.h:82
Aws::GroundStation::Model::ListMissionProfilesResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListMissionProfilesResult.h:100
Aws
Definition: AccessManagementClient.h:15
Aws::GroundStation::Model::ListMissionProfilesResult
Definition: ListMissionProfilesResult.h:35
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GroundStation::Model::ListMissionProfilesResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListMissionProfilesResult.h:94
Aws::GroundStation::Model::MissionProfileListItem
Definition: MissionProfileListItem.h:32
Aws::GroundStation::Model::ListMissionProfilesResult::WithMissionProfileList
ListMissionProfilesResult & WithMissionProfileList(const Aws::Vector< MissionProfileListItem > &value)
Definition: ListMissionProfilesResult.h:60
MissionProfileListItem.h