AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WorkloadConfiguration.h
1
6#pragma once
7#include <aws/application-insights/ApplicationInsights_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/application-insights/model/Tier.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ApplicationInsights
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_APPLICATIONINSIGHTS_API WorkloadConfiguration();
36 AWS_APPLICATIONINSIGHTS_API WorkloadConfiguration(Aws::Utils::Json::JsonView jsonValue);
37 AWS_APPLICATIONINSIGHTS_API WorkloadConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_APPLICATIONINSIGHTS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetWorkloadName() const{ return m_workloadName; }
46 inline bool WorkloadNameHasBeenSet() const { return m_workloadNameHasBeenSet; }
47 inline void SetWorkloadName(const Aws::String& value) { m_workloadNameHasBeenSet = true; m_workloadName = value; }
48 inline void SetWorkloadName(Aws::String&& value) { m_workloadNameHasBeenSet = true; m_workloadName = std::move(value); }
49 inline void SetWorkloadName(const char* value) { m_workloadNameHasBeenSet = true; m_workloadName.assign(value); }
50 inline WorkloadConfiguration& WithWorkloadName(const Aws::String& value) { SetWorkloadName(value); return *this;}
51 inline WorkloadConfiguration& WithWorkloadName(Aws::String&& value) { SetWorkloadName(std::move(value)); return *this;}
52 inline WorkloadConfiguration& WithWorkloadName(const char* value) { SetWorkloadName(value); return *this;}
54
56
59 inline const Tier& GetTier() const{ return m_tier; }
60 inline bool TierHasBeenSet() const { return m_tierHasBeenSet; }
61 inline void SetTier(const Tier& value) { m_tierHasBeenSet = true; m_tier = value; }
62 inline void SetTier(Tier&& value) { m_tierHasBeenSet = true; m_tier = std::move(value); }
63 inline WorkloadConfiguration& WithTier(const Tier& value) { SetTier(value); return *this;}
64 inline WorkloadConfiguration& WithTier(Tier&& value) { SetTier(std::move(value)); return *this;}
66
68
71 inline const Aws::String& GetConfiguration() const{ return m_configuration; }
72 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
73 inline void SetConfiguration(const Aws::String& value) { m_configurationHasBeenSet = true; m_configuration = value; }
74 inline void SetConfiguration(Aws::String&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); }
75 inline void SetConfiguration(const char* value) { m_configurationHasBeenSet = true; m_configuration.assign(value); }
76 inline WorkloadConfiguration& WithConfiguration(const Aws::String& value) { SetConfiguration(value); return *this;}
77 inline WorkloadConfiguration& WithConfiguration(Aws::String&& value) { SetConfiguration(std::move(value)); return *this;}
78 inline WorkloadConfiguration& WithConfiguration(const char* value) { SetConfiguration(value); return *this;}
80 private:
81
82 Aws::String m_workloadName;
83 bool m_workloadNameHasBeenSet = false;
84
85 Tier m_tier;
86 bool m_tierHasBeenSet = false;
87
88 Aws::String m_configuration;
89 bool m_configurationHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace ApplicationInsights
94} // namespace Aws
WorkloadConfiguration & WithWorkloadName(const Aws::String &value)
AWS_APPLICATIONINSIGHTS_API Aws::Utils::Json::JsonValue Jsonize() const
WorkloadConfiguration & WithConfiguration(const Aws::String &value)
WorkloadConfiguration & WithTier(const Tier &value)
AWS_APPLICATIONINSIGHTS_API WorkloadConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
WorkloadConfiguration & WithWorkloadName(Aws::String &&value)
AWS_APPLICATIONINSIGHTS_API WorkloadConfiguration(Aws::Utils::Json::JsonView jsonValue)
WorkloadConfiguration & WithConfiguration(const char *value)
WorkloadConfiguration & WithConfiguration(Aws::String &&value)
WorkloadConfiguration & WithWorkloadName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue