AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
DynatraceConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/devops-agent/DevOpsAgent_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace DevOpsAgent {
21namespace Model {
22
30 public:
31 AWS_DEVOPSAGENT_API DynatraceConfiguration() = default;
32 AWS_DEVOPSAGENT_API DynatraceConfiguration(Aws::Utils::Json::JsonView jsonValue);
34 AWS_DEVOPSAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetEnvId() const { return m_envId; }
41 inline bool EnvIdHasBeenSet() const { return m_envIdHasBeenSet; }
42 template <typename EnvIdT = Aws::String>
43 void SetEnvId(EnvIdT&& value) {
44 m_envIdHasBeenSet = true;
45 m_envId = std::forward<EnvIdT>(value);
46 }
47 template <typename EnvIdT = Aws::String>
49 SetEnvId(std::forward<EnvIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::Vector<Aws::String>& GetResources() const { return m_resources; }
59 inline bool ResourcesHasBeenSet() const { return m_resourcesHasBeenSet; }
60 template <typename ResourcesT = Aws::Vector<Aws::String>>
61 void SetResources(ResourcesT&& value) {
62 m_resourcesHasBeenSet = true;
63 m_resources = std::forward<ResourcesT>(value);
64 }
65 template <typename ResourcesT = Aws::Vector<Aws::String>>
67 SetResources(std::forward<ResourcesT>(value));
68 return *this;
69 }
70 template <typename ResourcesT = Aws::String>
71 DynatraceConfiguration& AddResources(ResourcesT&& value) {
72 m_resourcesHasBeenSet = true;
73 m_resources.emplace_back(std::forward<ResourcesT>(value));
74 return *this;
75 }
77 private:
78 Aws::String m_envId;
79
80 Aws::Vector<Aws::String> m_resources;
81 bool m_envIdHasBeenSet = false;
82 bool m_resourcesHasBeenSet = false;
83};
84
85} // namespace Model
86} // namespace DevOpsAgent
87} // namespace Aws
DynatraceConfiguration & AddResources(ResourcesT &&value)
AWS_DEVOPSAGENT_API DynatraceConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DEVOPSAGENT_API DynatraceConfiguration()=default
const Aws::Vector< Aws::String > & GetResources() const
AWS_DEVOPSAGENT_API DynatraceConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_DEVOPSAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
DynatraceConfiguration & WithResources(ResourcesT &&value)
DynatraceConfiguration & WithEnvId(EnvIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue