AWS SDK for C++  1.9.21
AWS SDK for C++
BatchDeleteWorldsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace RoboMaker
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "BatchDeleteWorlds"; }
32 
33  Aws::String SerializePayload() const override;
34 
35 
40  inline const Aws::Vector<Aws::String>& GetWorlds() const{ return m_worlds; }
41 
46  inline bool WorldsHasBeenSet() const { return m_worldsHasBeenSet; }
47 
52  inline void SetWorlds(const Aws::Vector<Aws::String>& value) { m_worldsHasBeenSet = true; m_worlds = value; }
53 
58  inline void SetWorlds(Aws::Vector<Aws::String>&& value) { m_worldsHasBeenSet = true; m_worlds = std::move(value); }
59 
64  inline BatchDeleteWorldsRequest& WithWorlds(const Aws::Vector<Aws::String>& value) { SetWorlds(value); return *this;}
65 
70  inline BatchDeleteWorldsRequest& WithWorlds(Aws::Vector<Aws::String>&& value) { SetWorlds(std::move(value)); return *this;}
71 
76  inline BatchDeleteWorldsRequest& AddWorlds(const Aws::String& value) { m_worldsHasBeenSet = true; m_worlds.push_back(value); return *this; }
77 
82  inline BatchDeleteWorldsRequest& AddWorlds(Aws::String&& value) { m_worldsHasBeenSet = true; m_worlds.push_back(std::move(value)); return *this; }
83 
88  inline BatchDeleteWorldsRequest& AddWorlds(const char* value) { m_worldsHasBeenSet = true; m_worlds.push_back(value); return *this; }
89 
90  private:
91 
92  Aws::Vector<Aws::String> m_worlds;
93  bool m_worldsHasBeenSet;
94  };
95 
96 } // namespace Model
97 } // namespace RoboMaker
98 } // namespace Aws
Aws::RoboMaker::Model::BatchDeleteWorldsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::RoboMaker::Model::BatchDeleteWorldsRequest::AddWorlds
BatchDeleteWorldsRequest & AddWorlds(Aws::String &&value)
Definition: BatchDeleteWorldsRequest.h:82
RoboMakerRequest.h
Aws::RoboMaker::Model::BatchDeleteWorldsRequest::WorldsHasBeenSet
bool WorldsHasBeenSet() const
Definition: BatchDeleteWorldsRequest.h:46
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::RoboMaker::Model::BatchDeleteWorldsRequest::AddWorlds
BatchDeleteWorldsRequest & AddWorlds(const Aws::String &value)
Definition: BatchDeleteWorldsRequest.h:76
Aws::RoboMaker::Model::BatchDeleteWorldsRequest::WithWorlds
BatchDeleteWorldsRequest & WithWorlds(const Aws::Vector< Aws::String > &value)
Definition: BatchDeleteWorldsRequest.h:64
Aws::RoboMaker::Model::BatchDeleteWorldsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: BatchDeleteWorldsRequest.h:31
AWSVector.h
Aws::RoboMaker::Model::BatchDeleteWorldsRequest::WithWorlds
BatchDeleteWorldsRequest & WithWorlds(Aws::Vector< Aws::String > &&value)
Definition: BatchDeleteWorldsRequest.h:70
AWS_ROBOMAKER_API
#define AWS_ROBOMAKER_API
Definition: RoboMaker_EXPORTS.h:28
RoboMaker_EXPORTS.h
Aws::RoboMaker::Model::BatchDeleteWorldsRequest::SetWorlds
void SetWorlds(Aws::Vector< Aws::String > &&value)
Definition: BatchDeleteWorldsRequest.h:58
AWSString.h
Aws::RoboMaker::Model::BatchDeleteWorldsRequest
Definition: BatchDeleteWorldsRequest.h:23
Aws::RoboMaker::Model::BatchDeleteWorldsRequest::AddWorlds
BatchDeleteWorldsRequest & AddWorlds(const char *value)
Definition: BatchDeleteWorldsRequest.h:88
Aws::RoboMaker::Model::BatchDeleteWorldsRequest::SetWorlds
void SetWorlds(const Aws::Vector< Aws::String > &value)
Definition: BatchDeleteWorldsRequest.h:52
Aws
Definition: AccessManagementClient.h:15
Aws::RoboMaker::Model::BatchDeleteWorldsRequest::GetWorlds
const Aws::Vector< Aws::String > & GetWorlds() const
Definition: BatchDeleteWorldsRequest.h:40
Aws::RoboMaker::RoboMakerRequest
Definition: RoboMakerRequest.h:17
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RoboMaker::Model::BatchDeleteWorldsRequest::BatchDeleteWorldsRequest
BatchDeleteWorldsRequest()