AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ContinuousDeploymentPolicy.h
1
6#pragma once
7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/cloudfront/model/ContinuousDeploymentPolicyConfig.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace CloudFront
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_CLOUDFRONT_API ContinuousDeploymentPolicy();
36 AWS_CLOUDFRONT_API ContinuousDeploymentPolicy(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
40
41
43
46 inline const Aws::String& GetId() const{ return m_id; }
47 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
48 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
49 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
50 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
51 inline ContinuousDeploymentPolicy& WithId(const Aws::String& value) { SetId(value); return *this;}
52 inline ContinuousDeploymentPolicy& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
53 inline ContinuousDeploymentPolicy& WithId(const char* value) { SetId(value); return *this;}
55
57
60 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
61 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
62 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
63 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
67
69
70 inline const ContinuousDeploymentPolicyConfig& GetContinuousDeploymentPolicyConfig() const{ return m_continuousDeploymentPolicyConfig; }
71 inline bool ContinuousDeploymentPolicyConfigHasBeenSet() const { return m_continuousDeploymentPolicyConfigHasBeenSet; }
72 inline void SetContinuousDeploymentPolicyConfig(const ContinuousDeploymentPolicyConfig& value) { m_continuousDeploymentPolicyConfigHasBeenSet = true; m_continuousDeploymentPolicyConfig = value; }
73 inline void SetContinuousDeploymentPolicyConfig(ContinuousDeploymentPolicyConfig&& value) { m_continuousDeploymentPolicyConfigHasBeenSet = true; m_continuousDeploymentPolicyConfig = std::move(value); }
77 private:
78
79 Aws::String m_id;
80 bool m_idHasBeenSet = false;
81
82 Aws::Utils::DateTime m_lastModifiedTime;
83 bool m_lastModifiedTimeHasBeenSet = false;
84
85 ContinuousDeploymentPolicyConfig m_continuousDeploymentPolicyConfig;
86 bool m_continuousDeploymentPolicyConfigHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace CloudFront
91} // namespace Aws
ContinuousDeploymentPolicy & WithId(const char *value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
ContinuousDeploymentPolicy & WithLastModifiedTime(Aws::Utils::DateTime &&value)
void SetContinuousDeploymentPolicyConfig(ContinuousDeploymentPolicyConfig &&value)
ContinuousDeploymentPolicy & WithId(Aws::String &&value)
const ContinuousDeploymentPolicyConfig & GetContinuousDeploymentPolicyConfig() const
ContinuousDeploymentPolicy & WithContinuousDeploymentPolicyConfig(ContinuousDeploymentPolicyConfig &&value)
AWS_CLOUDFRONT_API ContinuousDeploymentPolicy & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_CLOUDFRONT_API ContinuousDeploymentPolicy(const Aws::Utils::Xml::XmlNode &xmlNode)
ContinuousDeploymentPolicy & WithLastModifiedTime(const Aws::Utils::DateTime &value)
void SetContinuousDeploymentPolicyConfig(const ContinuousDeploymentPolicyConfig &value)
ContinuousDeploymentPolicy & WithContinuousDeploymentPolicyConfig(const ContinuousDeploymentPolicyConfig &value)
ContinuousDeploymentPolicy & WithId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String