AWS SDK for C++  1.9.104
AWS SDK for C++
ChefConfiguration.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace OpsWorks
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
43  inline bool GetManageBerkshelf() const{ return m_manageBerkshelf; }
44 
48  inline bool ManageBerkshelfHasBeenSet() const { return m_manageBerkshelfHasBeenSet; }
49 
53  inline void SetManageBerkshelf(bool value) { m_manageBerkshelfHasBeenSet = true; m_manageBerkshelf = value; }
54 
58  inline ChefConfiguration& WithManageBerkshelf(bool value) { SetManageBerkshelf(value); return *this;}
59 
60 
64  inline const Aws::String& GetBerkshelfVersion() const{ return m_berkshelfVersion; }
65 
69  inline bool BerkshelfVersionHasBeenSet() const { return m_berkshelfVersionHasBeenSet; }
70 
74  inline void SetBerkshelfVersion(const Aws::String& value) { m_berkshelfVersionHasBeenSet = true; m_berkshelfVersion = value; }
75 
79  inline void SetBerkshelfVersion(Aws::String&& value) { m_berkshelfVersionHasBeenSet = true; m_berkshelfVersion = std::move(value); }
80 
84  inline void SetBerkshelfVersion(const char* value) { m_berkshelfVersionHasBeenSet = true; m_berkshelfVersion.assign(value); }
85 
89  inline ChefConfiguration& WithBerkshelfVersion(const Aws::String& value) { SetBerkshelfVersion(value); return *this;}
90 
94  inline ChefConfiguration& WithBerkshelfVersion(Aws::String&& value) { SetBerkshelfVersion(std::move(value)); return *this;}
95 
99  inline ChefConfiguration& WithBerkshelfVersion(const char* value) { SetBerkshelfVersion(value); return *this;}
100 
101  private:
102 
103  bool m_manageBerkshelf;
104  bool m_manageBerkshelfHasBeenSet;
105 
106  Aws::String m_berkshelfVersion;
107  bool m_berkshelfVersionHasBeenSet;
108  };
109 
110 } // namespace Model
111 } // namespace OpsWorks
112 } // namespace Aws
OpsWorks_EXPORTS.h
Aws::OpsWorks::Model::ChefConfiguration::operator=
ChefConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::OpsWorks::Model::ChefConfiguration::WithBerkshelfVersion
ChefConfiguration & WithBerkshelfVersion(const Aws::String &value)
Definition: ChefConfiguration.h:89
Aws::OpsWorks::Model::ChefConfiguration::GetManageBerkshelf
bool GetManageBerkshelf() const
Definition: ChefConfiguration.h:43
Aws::OpsWorks::Model::ChefConfiguration::SetBerkshelfVersion
void SetBerkshelfVersion(const Aws::String &value)
Definition: ChefConfiguration.h:74
Aws::OpsWorks::Model::ChefConfiguration::WithBerkshelfVersion
ChefConfiguration & WithBerkshelfVersion(Aws::String &&value)
Definition: ChefConfiguration.h:94
AWS_OPSWORKS_API
#define AWS_OPSWORKS_API
Definition: OpsWorks_EXPORTS.h:28
Aws::OpsWorks::Model::ChefConfiguration::SetManageBerkshelf
void SetManageBerkshelf(bool value)
Definition: ChefConfiguration.h:53
Aws::OpsWorks::Model::ChefConfiguration::BerkshelfVersionHasBeenSet
bool BerkshelfVersionHasBeenSet() const
Definition: ChefConfiguration.h:69
Aws::OpsWorks::Model::ChefConfiguration::SetBerkshelfVersion
void SetBerkshelfVersion(const char *value)
Definition: ChefConfiguration.h:84
Aws::OpsWorks::Model::ChefConfiguration
Definition: ChefConfiguration.h:32
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::OpsWorks::Model::ChefConfiguration::ChefConfiguration
ChefConfiguration()
Aws::OpsWorks::Model::ChefConfiguration::GetBerkshelfVersion
const Aws::String & GetBerkshelfVersion() const
Definition: ChefConfiguration.h:64
Aws::OpsWorks::Model::ChefConfiguration::SetBerkshelfVersion
void SetBerkshelfVersion(Aws::String &&value)
Definition: ChefConfiguration.h:79
Aws::OpsWorks::Model::ChefConfiguration::WithManageBerkshelf
ChefConfiguration & WithManageBerkshelf(bool value)
Definition: ChefConfiguration.h:58
Aws::OpsWorks::Model::ChefConfiguration::WithBerkshelfVersion
ChefConfiguration & WithBerkshelfVersion(const char *value)
Definition: ChefConfiguration.h:99
Aws
Definition: AccessManagementClient.h:15
Aws::OpsWorks::Model::ChefConfiguration::ManageBerkshelfHasBeenSet
bool ManageBerkshelfHasBeenSet() const
Definition: ChefConfiguration.h:48
Aws::OpsWorks::Model::ChefConfiguration::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::OpsWorks::Model::ChefConfiguration::ChefConfiguration
ChefConfiguration(Aws::Utils::Json::JsonView jsonValue)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97