AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeploymentCommand.h
1
6#pragma once
7#include <aws/opsworks/OpsWorks_EXPORTS.h>
8#include <aws/opsworks/model/DeploymentCommandName.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace OpsWorks
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_OPSWORKS_API DeploymentCommand();
38 AWS_OPSWORKS_API DeploymentCommand(Aws::Utils::Json::JsonView jsonValue);
40 AWS_OPSWORKS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
71 inline const DeploymentCommandName& GetName() const{ return m_name; }
72 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
73 inline void SetName(const DeploymentCommandName& value) { m_nameHasBeenSet = true; m_name = value; }
74 inline void SetName(DeploymentCommandName&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
75 inline DeploymentCommand& WithName(const DeploymentCommandName& value) { SetName(value); return *this;}
76 inline DeploymentCommand& WithName(DeploymentCommandName&& value) { SetName(std::move(value)); return *this;}
78
80
95 inline const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& GetArgs() const{ return m_args; }
96 inline bool ArgsHasBeenSet() const { return m_argsHasBeenSet; }
97 inline void SetArgs(const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& value) { m_argsHasBeenSet = true; m_args = value; }
98 inline void SetArgs(Aws::Map<Aws::String, Aws::Vector<Aws::String>>&& value) { m_argsHasBeenSet = true; m_args = std::move(value); }
99 inline DeploymentCommand& WithArgs(const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& value) { SetArgs(value); return *this;}
100 inline DeploymentCommand& WithArgs(Aws::Map<Aws::String, Aws::Vector<Aws::String>>&& value) { SetArgs(std::move(value)); return *this;}
101 inline DeploymentCommand& AddArgs(const Aws::String& key, const Aws::Vector<Aws::String>& value) { m_argsHasBeenSet = true; m_args.emplace(key, value); return *this; }
102 inline DeploymentCommand& AddArgs(Aws::String&& key, const Aws::Vector<Aws::String>& value) { m_argsHasBeenSet = true; m_args.emplace(std::move(key), value); return *this; }
103 inline DeploymentCommand& AddArgs(const Aws::String& key, Aws::Vector<Aws::String>&& value) { m_argsHasBeenSet = true; m_args.emplace(key, std::move(value)); return *this; }
104 inline DeploymentCommand& AddArgs(Aws::String&& key, Aws::Vector<Aws::String>&& value) { m_argsHasBeenSet = true; m_args.emplace(std::move(key), std::move(value)); return *this; }
105 inline DeploymentCommand& AddArgs(const char* key, Aws::Vector<Aws::String>&& value) { m_argsHasBeenSet = true; m_args.emplace(key, std::move(value)); return *this; }
106 inline DeploymentCommand& AddArgs(const char* key, const Aws::Vector<Aws::String>& value) { m_argsHasBeenSet = true; m_args.emplace(key, value); return *this; }
108 private:
109
111 bool m_nameHasBeenSet = false;
112
114 bool m_argsHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace OpsWorks
119} // namespace Aws
DeploymentCommand & AddArgs(Aws::String &&key, Aws::Vector< Aws::String > &&value)
void SetArgs(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
DeploymentCommand & AddArgs(const char *key, const Aws::Vector< Aws::String > &value)
void SetArgs(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
DeploymentCommand & WithName(DeploymentCommandName &&value)
void SetName(DeploymentCommandName &&value)
DeploymentCommand & WithName(const DeploymentCommandName &value)
AWS_OPSWORKS_API DeploymentCommand(Aws::Utils::Json::JsonView jsonValue)
DeploymentCommand & AddArgs(const char *key, Aws::Vector< Aws::String > &&value)
void SetName(const DeploymentCommandName &value)
AWS_OPSWORKS_API DeploymentCommand & operator=(Aws::Utils::Json::JsonView jsonValue)
DeploymentCommand & AddArgs(Aws::String &&key, const Aws::Vector< Aws::String > &value)
AWS_OPSWORKS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetArgs() const
DeploymentCommand & WithArgs(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
DeploymentCommand & WithArgs(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
const DeploymentCommandName & GetName() const
DeploymentCommand & AddArgs(const Aws::String &key, const Aws::Vector< Aws::String > &value)
DeploymentCommand & AddArgs(const Aws::String &key, Aws::Vector< Aws::String > &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue