AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ChefConfiguration.h
1
6#pragma once
7#include <aws/opsworks/OpsWorks_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace OpsWorks
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_OPSWORKS_API ChefConfiguration();
35 AWS_OPSWORKS_API ChefConfiguration(Aws::Utils::Json::JsonView jsonValue);
37 AWS_OPSWORKS_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline bool GetManageBerkshelf() const{ return m_manageBerkshelf; }
45 inline bool ManageBerkshelfHasBeenSet() const { return m_manageBerkshelfHasBeenSet; }
46 inline void SetManageBerkshelf(bool value) { m_manageBerkshelfHasBeenSet = true; m_manageBerkshelf = value; }
47 inline ChefConfiguration& WithManageBerkshelf(bool value) { SetManageBerkshelf(value); return *this;}
49
51
54 inline const Aws::String& GetBerkshelfVersion() const{ return m_berkshelfVersion; }
55 inline bool BerkshelfVersionHasBeenSet() const { return m_berkshelfVersionHasBeenSet; }
56 inline void SetBerkshelfVersion(const Aws::String& value) { m_berkshelfVersionHasBeenSet = true; m_berkshelfVersion = value; }
57 inline void SetBerkshelfVersion(Aws::String&& value) { m_berkshelfVersionHasBeenSet = true; m_berkshelfVersion = std::move(value); }
58 inline void SetBerkshelfVersion(const char* value) { m_berkshelfVersionHasBeenSet = true; m_berkshelfVersion.assign(value); }
59 inline ChefConfiguration& WithBerkshelfVersion(const Aws::String& value) { SetBerkshelfVersion(value); return *this;}
60 inline ChefConfiguration& WithBerkshelfVersion(Aws::String&& value) { SetBerkshelfVersion(std::move(value)); return *this;}
61 inline ChefConfiguration& WithBerkshelfVersion(const char* value) { SetBerkshelfVersion(value); return *this;}
63 private:
64
65 bool m_manageBerkshelf;
66 bool m_manageBerkshelfHasBeenSet = false;
67
68 Aws::String m_berkshelfVersion;
69 bool m_berkshelfVersionHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace OpsWorks
74} // namespace Aws
void SetBerkshelfVersion(Aws::String &&value)
const Aws::String & GetBerkshelfVersion() const
AWS_OPSWORKS_API Aws::Utils::Json::JsonValue Jsonize() const
ChefConfiguration & WithBerkshelfVersion(Aws::String &&value)
ChefConfiguration & WithBerkshelfVersion(const Aws::String &value)
AWS_OPSWORKS_API ChefConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
ChefConfiguration & WithManageBerkshelf(bool value)
void SetBerkshelfVersion(const Aws::String &value)
AWS_OPSWORKS_API ChefConfiguration(Aws::Utils::Json::JsonView jsonValue)
ChefConfiguration & WithBerkshelfVersion(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue