AWS SDK for C++  1.9.175
AWS SDK for C++
EnvironmentLink.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Xml
17 {
18  class XmlNode;
19 } // namespace Xml
20 } // namespace Utils
21 namespace ElasticBeanstalk
22 {
23 namespace Model
24 {
25 
36  {
37  public:
41 
42  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
43  void OutputToStream(Aws::OStream& oStream, const char* location) const;
44 
45 
49  inline const Aws::String& GetLinkName() const{ return m_linkName; }
50 
54  inline bool LinkNameHasBeenSet() const { return m_linkNameHasBeenSet; }
55 
59  inline void SetLinkName(const Aws::String& value) { m_linkNameHasBeenSet = true; m_linkName = value; }
60 
64  inline void SetLinkName(Aws::String&& value) { m_linkNameHasBeenSet = true; m_linkName = std::move(value); }
65 
69  inline void SetLinkName(const char* value) { m_linkNameHasBeenSet = true; m_linkName.assign(value); }
70 
74  inline EnvironmentLink& WithLinkName(const Aws::String& value) { SetLinkName(value); return *this;}
75 
79  inline EnvironmentLink& WithLinkName(Aws::String&& value) { SetLinkName(std::move(value)); return *this;}
80 
84  inline EnvironmentLink& WithLinkName(const char* value) { SetLinkName(value); return *this;}
85 
86 
90  inline const Aws::String& GetEnvironmentName() const{ return m_environmentName; }
91 
95  inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; }
96 
100  inline void SetEnvironmentName(const Aws::String& value) { m_environmentNameHasBeenSet = true; m_environmentName = value; }
101 
105  inline void SetEnvironmentName(Aws::String&& value) { m_environmentNameHasBeenSet = true; m_environmentName = std::move(value); }
106 
110  inline void SetEnvironmentName(const char* value) { m_environmentNameHasBeenSet = true; m_environmentName.assign(value); }
111 
115  inline EnvironmentLink& WithEnvironmentName(const Aws::String& value) { SetEnvironmentName(value); return *this;}
116 
120  inline EnvironmentLink& WithEnvironmentName(Aws::String&& value) { SetEnvironmentName(std::move(value)); return *this;}
121 
125  inline EnvironmentLink& WithEnvironmentName(const char* value) { SetEnvironmentName(value); return *this;}
126 
127  private:
128 
129  Aws::String m_linkName;
130  bool m_linkNameHasBeenSet;
131 
132  Aws::String m_environmentName;
133  bool m_environmentNameHasBeenSet;
134  };
135 
136 } // namespace Model
137 } // namespace ElasticBeanstalk
138 } // namespace Aws
AWS_ELASTICBEANSTALK_API
#define AWS_ELASTICBEANSTALK_API
Definition: ElasticBeanstalk_EXPORTS.h:28
AWSStreamFwd.h
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
AWSString.h
ElasticBeanstalk_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
index
int index
Definition: cJSON.h:181