AWS SDK for C++  0.12.9
AWS SDK for C++
GetQueueUrlRequest.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
16 #include <aws/sqs/SQS_EXPORTS.h>
17 #include <aws/sqs/SQSRequest.h>
19 
20 namespace Aws
21 {
22 namespace SQS
23 {
24 namespace Model
25 {
26 
31  {
32  public:
34  Aws::String SerializePayload() const override;
35 
41  inline const Aws::String& GetQueueName() const{ return m_queueName; }
42 
48  inline void SetQueueName(const Aws::String& value) { m_queueNameHasBeenSet = true; m_queueName = value; }
49 
55  inline void SetQueueName(Aws::String&& value) { m_queueNameHasBeenSet = true; m_queueName = value; }
56 
62  inline void SetQueueName(const char* value) { m_queueNameHasBeenSet = true; m_queueName.assign(value); }
63 
69  inline GetQueueUrlRequest& WithQueueName(const Aws::String& value) { SetQueueName(value); return *this;}
70 
76  inline GetQueueUrlRequest& WithQueueName(Aws::String&& value) { SetQueueName(value); return *this;}
77 
83  inline GetQueueUrlRequest& WithQueueName(const char* value) { SetQueueName(value); return *this;}
84 
88  inline const Aws::String& GetQueueOwnerAWSAccountId() const{ return m_queueOwnerAWSAccountId; }
89 
93  inline void SetQueueOwnerAWSAccountId(const Aws::String& value) { m_queueOwnerAWSAccountIdHasBeenSet = true; m_queueOwnerAWSAccountId = value; }
94 
98  inline void SetQueueOwnerAWSAccountId(Aws::String&& value) { m_queueOwnerAWSAccountIdHasBeenSet = true; m_queueOwnerAWSAccountId = value; }
99 
103  inline void SetQueueOwnerAWSAccountId(const char* value) { m_queueOwnerAWSAccountIdHasBeenSet = true; m_queueOwnerAWSAccountId.assign(value); }
104 
108  inline GetQueueUrlRequest& WithQueueOwnerAWSAccountId(const Aws::String& value) { SetQueueOwnerAWSAccountId(value); return *this;}
109 
113  inline GetQueueUrlRequest& WithQueueOwnerAWSAccountId(Aws::String&& value) { SetQueueOwnerAWSAccountId(value); return *this;}
114 
118  inline GetQueueUrlRequest& WithQueueOwnerAWSAccountId(const char* value) { SetQueueOwnerAWSAccountId(value); return *this;}
119 
120  private:
121  Aws::String m_queueName;
122  bool m_queueNameHasBeenSet;
123  Aws::String m_queueOwnerAWSAccountId;
124  bool m_queueOwnerAWSAccountIdHasBeenSet;
125  };
126 
127 } // namespace Model
128 } // namespace SQS
129 } // namespace Aws
void SetQueueName(const Aws::String &value)
GetQueueUrlRequest & WithQueueOwnerAWSAccountId(const char *value)
GetQueueUrlRequest & WithQueueName(const char *value)
void SetQueueOwnerAWSAccountId(Aws::String &&value)
GetQueueUrlRequest & WithQueueOwnerAWSAccountId(const Aws::String &value)
void SetQueueName(Aws::String &&value)
const Aws::String & GetQueueOwnerAWSAccountId() const
const Aws::String & GetQueueName() const
GetQueueUrlRequest & WithQueueOwnerAWSAccountId(Aws::String &&value)
GetQueueUrlRequest & WithQueueName(Aws::String &&value)
void SetQueueOwnerAWSAccountId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
#define AWS_SQS_API
Definition: SQS_EXPORTS.h:34
void SetQueueName(const char *value)
GetQueueUrlRequest & WithQueueName(const Aws::String &value)
void SetQueueOwnerAWSAccountId(const char *value)
JSON (JavaScript Object Notation).