AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WorkloadProfile.h
1
6#pragma once
7#include <aws/wellarchitected/WellArchitected_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 WellArchitected
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_WELLARCHITECTED_API WorkloadProfile();
35 AWS_WELLARCHITECTED_API WorkloadProfile(Aws::Utils::Json::JsonView jsonValue);
36 AWS_WELLARCHITECTED_API WorkloadProfile& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetProfileArn() const{ return m_profileArn; }
45 inline bool ProfileArnHasBeenSet() const { return m_profileArnHasBeenSet; }
46 inline void SetProfileArn(const Aws::String& value) { m_profileArnHasBeenSet = true; m_profileArn = value; }
47 inline void SetProfileArn(Aws::String&& value) { m_profileArnHasBeenSet = true; m_profileArn = std::move(value); }
48 inline void SetProfileArn(const char* value) { m_profileArnHasBeenSet = true; m_profileArn.assign(value); }
49 inline WorkloadProfile& WithProfileArn(const Aws::String& value) { SetProfileArn(value); return *this;}
50 inline WorkloadProfile& WithProfileArn(Aws::String&& value) { SetProfileArn(std::move(value)); return *this;}
51 inline WorkloadProfile& WithProfileArn(const char* value) { SetProfileArn(value); return *this;}
53
55
58 inline const Aws::String& GetProfileVersion() const{ return m_profileVersion; }
59 inline bool ProfileVersionHasBeenSet() const { return m_profileVersionHasBeenSet; }
60 inline void SetProfileVersion(const Aws::String& value) { m_profileVersionHasBeenSet = true; m_profileVersion = value; }
61 inline void SetProfileVersion(Aws::String&& value) { m_profileVersionHasBeenSet = true; m_profileVersion = std::move(value); }
62 inline void SetProfileVersion(const char* value) { m_profileVersionHasBeenSet = true; m_profileVersion.assign(value); }
63 inline WorkloadProfile& WithProfileVersion(const Aws::String& value) { SetProfileVersion(value); return *this;}
64 inline WorkloadProfile& WithProfileVersion(Aws::String&& value) { SetProfileVersion(std::move(value)); return *this;}
65 inline WorkloadProfile& WithProfileVersion(const char* value) { SetProfileVersion(value); return *this;}
67 private:
68
69 Aws::String m_profileArn;
70 bool m_profileArnHasBeenSet = false;
71
72 Aws::String m_profileVersion;
73 bool m_profileVersionHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace WellArchitected
78} // namespace Aws
WorkloadProfile & WithProfileVersion(const char *value)
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
void SetProfileArn(const Aws::String &value)
void SetProfileVersion(const Aws::String &value)
WorkloadProfile & WithProfileArn(const Aws::String &value)
const Aws::String & GetProfileVersion() const
WorkloadProfile & WithProfileArn(Aws::String &&value)
AWS_WELLARCHITECTED_API WorkloadProfile()
WorkloadProfile & WithProfileVersion(const Aws::String &value)
WorkloadProfile & WithProfileVersion(Aws::String &&value)
AWS_WELLARCHITECTED_API WorkloadProfile(Aws::Utils::Json::JsonView jsonValue)
AWS_WELLARCHITECTED_API WorkloadProfile & operator=(Aws::Utils::Json::JsonView jsonValue)
WorkloadProfile & WithProfileArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue