AWS SDK for C++

AWS SDK for C++ Version 1.11.909

Loading...
Searching...
No Matches
ImageSource.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Xml {
16class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace ElasticBeanstalk {
20namespace Model {
21
28 public:
29 AWS_ELASTICBEANSTALK_API ImageSource() = default;
30 AWS_ELASTICBEANSTALK_API ImageSource(const Aws::Utils::Xml::XmlNode& xmlNode);
31 AWS_ELASTICBEANSTALK_API ImageSource& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
32
33 AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index,
34 const char* locationValue) const;
35 AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
36
38
43 inline const Aws::String& GetUri() const { return m_uri; }
44 inline bool UriHasBeenSet() const { return m_uriHasBeenSet; }
45 template <typename UriT = Aws::String>
46 void SetUri(UriT&& value) {
47 m_uriHasBeenSet = true;
48 m_uri = std::forward<UriT>(value);
49 }
50 template <typename UriT = Aws::String>
51 ImageSource& WithUri(UriT&& value) {
52 SetUri(std::forward<UriT>(value));
53 return *this;
54 }
56 private:
57 Aws::String m_uri;
58 bool m_uriHasBeenSet = false;
59};
60
61} // namespace Model
62} // namespace ElasticBeanstalk
63} // namespace Aws
ImageSource & WithUri(UriT &&value)
Definition ImageSource.h:51
AWS_ELASTICBEANSTALK_API ImageSource()=default
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::String & GetUri() const
Definition ImageSource.h:43
AWS_ELASTICBEANSTALK_API ImageSource(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICBEANSTALK_API ImageSource & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &oStream, const char *location) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream